diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-02-25 20:24:13 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-02-25 20:24:13 +0000 |
commit | 35f0e5ba8fbb4c47932378b8941120b11386e5ae (patch) | |
tree | 65bf3123733437cb4e8c62cdb4ab7e774c5a898e /sys/dev/drm/i915_reg.h | |
parent | 4abf3eb20011187bff9c7381d361fc9f7fef90bf (diff) | |
download | FreeBSD-src-35f0e5ba8fbb4c47932378b8941120b11386e5ae.zip FreeBSD-src-35f0e5ba8fbb4c47932378b8941120b11386e5ae.tar.gz |
The GM45 handles vblank differently. Pull the changes from Intel in.
MFC after: 2 Weeks
Diffstat (limited to 'sys/dev/drm/i915_reg.h')
-rw-r--r-- | sys/dev/drm/i915_reg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/drm/i915_reg.h b/sys/dev/drm/i915_reg.h index 003223d..a9142d0 100644 --- a/sys/dev/drm/i915_reg.h +++ b/sys/dev/drm/i915_reg.h @@ -1329,6 +1329,9 @@ __FBSDID("$FreeBSD$"); #define PIPE_FRAME_LOW_SHIFT 24 #define PIPE_PIXEL_MASK 0x00ffffff #define PIPE_PIXEL_SHIFT 0 +/* GM45+ just has to be different */ +#define PIPEA_FRMCOUNT_GM45 0x70040 +#define PIPEA_FLIPCOUNT_GM45 0x70044 /* Cursor A & B regs */ #define CURACNTR 0x70080 @@ -1397,6 +1400,8 @@ __FBSDID("$FreeBSD$"); #define PIPEBSTAT 0x71024 #define PIPEBFRAMEHIGH 0x71040 #define PIPEBFRAMEPIXEL 0x71044 +#define PIPEB_FRMCOUNT_GM45 0x71040 +#define PIPEB_FLIPCOUNT_GM45 0x71044 /* Display B control */ #define DSPBCNTR 0x71180 |