diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-08-08 11:54:18 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-08-08 11:54:18 -0700 |
commit | b1aef6f63c151dcb202fce869e4b80598b4b2052 (patch) | |
tree | 95bc73bc1aa7a9a8ffe39ab8dc2215e26b5b799e /src/i830_video.c | |
parent | f9504eff31eb3c9c6c6b33dced9875866ff8307e (diff) |
Initial port of kernel modesetting from old intel-kernelmode branch
Thanks airlied!
Diffstat (limited to 'src/i830_video.c')
-rw-r--r-- | src/i830_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_video.c b/src/i830_video.c index 1719835c..5e6ebd77 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -2394,7 +2394,7 @@ I830PutImage(ScrnInfoPtr pScrn, /* fixup pointers */ #ifdef INTEL_XVMC if (id == FOURCC_XVMC && IS_I915(pI830)) { - pPriv->YBuf0offset = (uint32_t)buf; + pPriv->YBuf0offset = (uint32_t)((uint64_t)buf); pPriv->VBuf0offset = pPriv->YBuf0offset + (dstPitch2 * height); pPriv->UBuf0offset = pPriv->VBuf0offset + (dstPitch * height / 2); destId = FOURCC_YV12; |