drm/radeon/kms: Don't overwrite crtc_gen_cntl or crtc_gen_cntl2
authorJerome Glisse <jglisse@redhat.com>
Thu, 26 Nov 2009 14:58:36 +0000 (15:58 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Dec 2009 01:37:19 +0000 (11:37 +1000)
commitee2215f0b269f4c460807e3f827665eb7049aa34
treeb765ba7f49915bd4461f68e1d586483cef5c4ec1
parented160143c6967e89aee05b0685e73c4103bb3e38
drm/radeon/kms: Don't overwrite crtc_gen_cntl or crtc_gen_cntl2

Don't overwritte  crtc_gen_cntl or crtc_gen_cntl2 or we may loose the
cursor. This especialy happen when changing video mode. Fix bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=529146

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_legacy_crtc.c