i915_mmio: add overlay regs

main
Dave Airlie 2008-02-26 16:11:39 +10:00
parent 879fb12e28
commit 35d1b13b4a
2 changed files with 12 additions and 1 deletions

View File

@ -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);

View File

@ -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;