git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drm/nv04: Fix scanout over the 16MB mark.
[pandora-kernel.git]
/
drivers
/
gpu
/
drm
/
nouveau
/
nv04_crtc.c
diff --git
a/drivers/gpu/drm/nouveau/nv04_crtc.c
b/drivers/gpu/drm/nouveau/nv04_crtc.c
index
c71abc2
..
5b49cec
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv04_crtc.c
+++ b/
drivers/gpu/drm/nouveau/nv04_crtc.c
@@
-831,7
+831,7
@@
nv04_crtc_do_mode_set_base(struct drm_crtc *crtc,
/* Update the framebuffer location. */
regp->fb_start = nv_crtc->fb.offset & ~3;
regp->fb_start += (y * drm_fb->pitch) + (x * drm_fb->bits_per_pixel / 8);
/* Update the framebuffer location. */
regp->fb_start = nv_crtc->fb.offset & ~3;
regp->fb_start += (y * drm_fb->pitch) + (x * drm_fb->bits_per_pixel / 8);
-
NVWriteCRTC(dev, nv_crtc->index, NV_PCRTC_START
, regp->fb_start);
+
nv_set_crtc_base(dev, nv_crtc->index
, regp->fb_start);
/* Update the arbitration parameters. */
nouveau_calc_arb(dev, crtc->mode.clock, drm_fb->bits_per_pixel,
/* Update the arbitration parameters. */
nouveau_calc_arb(dev, crtc->mode.clock, drm_fb->bits_per_pixel,