diff options
author | Keith Packard <keithp@keithp.com> | 2008-04-21 02:31:10 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-04-26 03:48:54 -0400 |
commit | 7b832b56bd971348329c3f4c753ca0abfdf3a3d1 (patch) | |
tree | 38bcc4d42d03942ffc31c9024091fd7e2b75d5c0 /drivers/char/drm/i915_drv.h | |
parent | a36b7dcc05bc4c4580f11cf78e95edfefa86b8a6 (diff) |
drm/i915: Handle tiled buffers in vblank tasklet
The vblank tasklet update code must build 2D blt commands with the appropriate
tiled flags
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/drm/i915_drv.h')
-rw-r--r-- | drivers/char/drm/i915_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/drm/i915_drv.h b/drivers/char/drm/i915_drv.h index 675d88bda066..50cd68d6b6cc 100644 --- a/drivers/char/drm/i915_drv.h +++ b/drivers/char/drm/i915_drv.h | |||
@@ -566,6 +566,8 @@ extern int i915_wait_ring(struct drm_device * dev, int n, const char *caller); | |||
566 | #define XY_SRC_COPY_BLT_CMD ((2<<29)|(0x53<<22)|6) | 566 | #define XY_SRC_COPY_BLT_CMD ((2<<29)|(0x53<<22)|6) |
567 | #define XY_SRC_COPY_BLT_WRITE_ALPHA (1<<21) | 567 | #define XY_SRC_COPY_BLT_WRITE_ALPHA (1<<21) |
568 | #define XY_SRC_COPY_BLT_WRITE_RGB (1<<20) | 568 | #define XY_SRC_COPY_BLT_WRITE_RGB (1<<20) |
569 | #define XY_SRC_COPY_BLT_SRC_TILED (1<<15) | ||
570 | #define XY_SRC_COPY_BLT_DST_TILED (1<<11) | ||
569 | 571 | ||
570 | #define MI_BATCH_BUFFER ((0x30<<23)|1) | 572 | #define MI_BATCH_BUFFER ((0x30<<23)|1) |
571 | #define MI_BATCH_BUFFER_START (0x31<<23) | 573 | #define MI_BATCH_BUFFER_START (0x31<<23) |