Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166025
b: refs/heads/master
c: e70236a
h: refs/heads/master
i:
  166023: cf46e66
v: v3
  • Loading branch information
Jesse Barnes authored and Eric Anholt committed Sep 21, 2009
1 parent 4aff5e6 commit 9a26524
Show file tree
Hide file tree
Showing 3 changed files with 232 additions and 99 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8542a0bbbbda412560820b4c3b04e8399e2e99c1
refs/heads/master: e70236a8d3d0a4c100a0b9f7d394d9bda9c56aca
20 changes: 20 additions & 0 deletions trunk/drivers/gpu/drm/i915/i915_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,23 @@ struct drm_i915_error_state {
struct timeval time;
};

struct drm_i915_display_funcs {
void (*dpms)(struct drm_crtc *crtc, int mode);
bool (*fbc_enabled)(struct drm_crtc *crtc);
void (*enable_fbc)(struct drm_crtc *crtc, unsigned long interval);
void (*disable_fbc)(struct drm_device *dev);
int (*get_display_clock_speed)(struct drm_device *dev);
int (*get_fifo_size)(struct drm_device *dev, int plane);
void (*update_wm)(struct drm_device *dev, int planea_clock,
int planeb_clock, int sr_hdisplay, int pixel_size);
/* clock updates for mode set */
/* cursor updates */
/* render clock increase/decrease */
/* display clock increase/decrease */
/* pll clock increase/decrease */
/* clock gating init */
};

typedef struct drm_i915_private {
struct drm_device *dev;

Expand Down Expand Up @@ -252,6 +269,9 @@ typedef struct drm_i915_private {
struct work_struct error_work;
struct workqueue_struct *wq;

/* Display functions */
struct drm_i915_display_funcs display;

/* Register state */
bool suspended;
u8 saveLBB;
Expand Down
Loading

0 comments on commit 9a26524

Please sign in to comment.