From: Dave Airlie Date: Tue, 26 Feb 2008 06:11:39 +0000 (+1000) Subject: i915_mmio: add overlay regs X-Git-Tag: submit/1.0/20121108.012404~642^2~243 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35d1b13b4a574faf3a95bf3b7cdd14897ef07f67;p=profile%2Fivi%2Flibdrm.git i915_mmio: add overlay regs --- diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c index 11c000b..7a5d1d9 100644 --- a/shared-core/i915_dma.c +++ b/shared-core/i915_dma.c @@ -1300,7 +1300,16 @@ drm_i915_mmio_entry_t mmio_table[] = { I915_MMIO_MAY_READ|I915_MMIO_MAY_WRITE, 0x2350, 8 - } + }, + [MMIO_REGS_DOVSTA] = { + I915_MMIO_MAY_READ, + 0x30008, + 1 + }, + [MMIO_REGS_GAMMAA] = { + I915_MMIO_MAY_READ|I915_MMIO_MAY_WRITE, + 0x30010, + 6 }; static int mmio_table_size = sizeof(mmio_table)/sizeof(drm_i915_mmio_entry_t); diff --git a/shared-core/i915_drm.h b/shared-core/i915_drm.h index b8eaa02..a40cabd 100644 --- a/shared-core/i915_drm.h +++ b/shared-core/i915_drm.h @@ -326,6 +326,8 @@ typedef struct drm_i915_vblank_swap { #define MMIO_REGS_CL_INVOCATION_COUNT 6 #define MMIO_REGS_PS_INVOCATION_COUNT 7 #define MMIO_REGS_PS_DEPTH_COUNT 8 +#define MMIO_REGS_DOVSTA 9 +#define MMIO_REGS_GAMMA 10 typedef struct drm_i915_mmio_entry { unsigned int flag;