summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvreg.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2011-05-24 15:57:14 +0200
committerBen Skeggs <bskeggs@redhat.com>2011-06-07 01:22:29 +0200
commitc1003d9c90f410777ab57f675b2a575c9c7ab5d7 (patch)
tree214655e8c4bfa806dcf8ce08efbbad6d3e5d3431 /drivers/gpu/drm/nouveau/nvreg.h
parentdrm/nouveau: don't create accel engine objects when noaccel=1 (diff)
downloadlinux-c1003d9c90f410777ab57f675b2a575c9c7ab5d7.tar.xz
linux-c1003d9c90f410777ab57f675b2a575c9c7ab5d7.zip
drm/nv17-nv40: Fix modesetting failure when pitch == 4096px (fdo bug 35901).
Reported-by: Mario Bachmann <grafgrimm77@gmx.de> Tested-by: Greg Turner <gmturner007@ameritech.net> Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvreg.h')
-rw-r--r--drivers/gpu/drm/nouveau/nvreg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvreg.h b/drivers/gpu/drm/nouveau/nvreg.h
index fe0f253089ac..bbfb1a68fb11 100644
--- a/drivers/gpu/drm/nouveau/nvreg.h
+++ b/drivers/gpu/drm/nouveau/nvreg.h
@@ -277,6 +277,8 @@
# define NV_CIO_CRE_EBR_VDE_11 2:2
# define NV_CIO_CRE_EBR_VRS_11 4:4
# define NV_CIO_CRE_EBR_VBS_11 6:6
+# define NV_CIO_CRE_42 0x42
+# define NV_CIO_CRE_42_OFFSET_11 6:6
# define NV_CIO_CRE_43 0x43
# define NV_CIO_CRE_44 0x44 /* head control */
# define NV_CIO_CRE_CSB 0x45 /* colour saturation boost */