diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-11 10:47:47 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-11 10:50:55 +0100 |
commit | bed4a6734b5f56ffd240fdda755b6eb589d32482 (patch) | |
tree | 406797661fc322f51ab01c92f06a6c0a0aa8b3d7 /drivers/gpu/drm/i915/i915_drv.h | |
parent | ea056c14a269be393468fe3734f6c2319eb23a3f (diff) | |
download | lwn-bed4a6734b5f56ffd240fdda755b6eb589d32482.tar.gz lwn-bed4a6734b5f56ffd240fdda755b6eb589d32482.zip |
drm/i915: Fix updating FBC
We need to track different state on each generation in order to detect
when we need to refresh the FBC registers.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index c8b22005ec18..b3efb30b2270 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -219,6 +219,7 @@ struct intel_device_info { }; enum no_fbc_reason { + FBC_NO_OUTPUT, /* no outputs enabled to compress */ FBC_STOLEN_TOO_SMALL, /* not enough space to hold compressed buffers */ FBC_UNSUPPORTED_MODE, /* interlace or doublescanned mode */ FBC_MODE_TOO_LARGE, /* mode too large for compression */ @@ -307,8 +308,10 @@ typedef struct drm_i915_private { unsigned long cfb_size; unsigned long cfb_pitch; + unsigned long cfb_offset; int cfb_fence; int cfb_plane; + int cfb_y; int irq_enabled; |