diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-10-22 04:31:02 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-12-03 15:11:09 +1000 |
commit | 63f7fcfebd2ff1995b649101d6120b60fa0e5b06 (patch) | |
tree | 27ed24ca7f08b26ec46274a91106139074c6982e /drivers/gpu/drm/nouveau/nvreg.h | |
parent | 382d62e524db528cdf53563ad9a018adc170dfde (diff) | |
download | linux-63f7fcfebd2ff1995b649101d6120b60fa0e5b06.tar.gz linux-63f7fcfebd2ff1995b649101d6120b60fa0e5b06.tar.bz2 linux-63f7fcfebd2ff1995b649101d6120b60fa0e5b06.zip |
drm/nv04: Make CRTC base changes effective in the next hsync.
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvreg.h b/drivers/gpu/drm/nouveau/nvreg.h index 881f8a585613..fe0f253089ac 100644 --- a/drivers/gpu/drm/nouveau/nvreg.h +++ b/drivers/gpu/drm/nouveau/nvreg.h @@ -153,7 +153,8 @@ #define NV_PCRTC_START 0x00600800 #define NV_PCRTC_CONFIG 0x00600804 # define NV_PCRTC_CONFIG_START_ADDRESS_NON_VGA (1 << 0) -# define NV_PCRTC_CONFIG_START_ADDRESS_HSYNC (2 << 0) +# define NV04_PCRTC_CONFIG_START_ADDRESS_HSYNC (4 << 0) +# define NV10_PCRTC_CONFIG_START_ADDRESS_HSYNC (2 << 0) #define NV_PCRTC_CURSOR_CONFIG 0x00600810 # define NV_PCRTC_CURSOR_CONFIG_ENABLE_ENABLE (1 << 0) # define NV_PCRTC_CURSOR_CONFIG_DOUBLE_SCAN_ENABLE (1 << 4) |