diff options
author | Jesse Barnes <jesse.barnes@intel.com> | 2007-07-06 16:10:52 -0700 |
---|---|---|
committer | Jesse Barnes <jesse.barnes@intel.com> | 2007-07-06 16:10:52 -0700 |
commit | ca593a5219549df94a6d234ebbcf9e7c44723c9b (patch) | |
tree | adc394d8f2005d975abb43b5aeaa038773ca5d54 /src/i915_video.c | |
parent | 8798ef11321ee6957919279076758d47ad956cf3 (diff) |
FBC and tiling changes
- change framebuffer option name to "FramebufferCompression"
- add new "Tiling" option (controls all tiling, not just front buffer)
- add debug message to fb compression enable/disable routines
- update man page with new options
Diffstat (limited to 'src/i915_video.c')
-rw-r--r-- | src/i915_video.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/i915_video.c b/src/i915_video.c index f1bf4ccb..e116fe23 100644 --- a/src/i915_video.c +++ b/src/i915_video.c @@ -160,7 +160,7 @@ I915DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id, } ms3 |= (height - 1) << MS3_HEIGHT_SHIFT; ms3 |= (width - 1) << MS3_WIDTH_SHIFT; - if (!pI830->disableTiling) + if (pI830->tiling) ms3 |= MS3_USE_FENCE_REGS; OUT_RING(ms3); OUT_RING(((video_pitch / 4) - 1) << MS4_PITCH_SHIFT); @@ -251,7 +251,7 @@ I915DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id, ms3 = MAPSURF_8BIT | MT_8BIT_I8; ms3 |= (height - 1) << MS3_HEIGHT_SHIFT; ms3 |= (width - 1) << MS3_WIDTH_SHIFT; - if (!pI830->disableTiling) + if (pI830->tiling) ms3 |= MS3_USE_FENCE_REGS; OUT_RING(ms3); OUT_RING(((video_pitch * 2 / 4) - 1) << MS4_PITCH_SHIFT); @@ -260,7 +260,7 @@ I915DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id, ms3 = MAPSURF_8BIT | MT_8BIT_I8; ms3 |= (height / 2 - 1) << MS3_HEIGHT_SHIFT; ms3 |= (width / 2 - 1) << MS3_WIDTH_SHIFT; - if (!pI830->disableTiling) + if (pI830->tiling) ms3 |= MS3_USE_FENCE_REGS; OUT_RING(ms3); OUT_RING(((video_pitch / 4) - 1) << MS4_PITCH_SHIFT); @@ -269,7 +269,7 @@ I915DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id, ms3 = MAPSURF_8BIT | MT_8BIT_I8; ms3 |= (height / 2 - 1) << MS3_HEIGHT_SHIFT; ms3 |= (width / 2 - 1) << MS3_WIDTH_SHIFT; - if (!pI830->disableTiling) + if (pI830->tiling) ms3 |= MS3_USE_FENCE_REGS; OUT_RING(ms3); OUT_RING(((video_pitch / 4) - 1) << MS4_PITCH_SHIFT); |