mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 23:53:52 +02:00
drm/radeon: fix cursor corruption on DCE6 and newer
commit e521a29014 upstream.
Aruba and newer gpu does not need the avivo cursor work around,
quite the opposite this work around lead to corruption.
agd5f: check DCE6 rather than ARUBA since the issue is DCE
version specific rather than family specific.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
dec3b6a0b8
commit
d4ffc500fc
|
|
@ -238,7 +238,8 @@ int radeon_crtc_cursor_move(struct drm_crtc *crtc,
|
|||
y = 0;
|
||||
}
|
||||
|
||||
if (ASIC_IS_AVIVO(rdev)) {
|
||||
/* fixed on DCE6 and newer */
|
||||
if (ASIC_IS_AVIVO(rdev) && !ASIC_IS_DCE6(rdev)) {
|
||||
int i = 0;
|
||||
struct drm_crtc *crtc_p;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user