diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-10-27 08:11:43 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-09 07:32:19 (GMT) |
commit | 2cea2151623122f78b5287acba658208bb0ee4a7 (patch) | |
tree | d3527ce5e99c5bac7dbe20903a277bcf85d283bd /drivers/atm/suni.c | |
parent | eb0d743b41882ad2987f4fe4000dce595fce1b7f (diff) | |
download | linux-2cea2151623122f78b5287acba658208bb0ee4a7.tar.xz |
drm/amdgpu: Store CRTC relative amdgpu_crtc->cursor_x/y values
commit 8e57ec613df7d6bfa8ffe7512290c5415ebb8657 upstream.
We were storing viewport relative coordinates. However, crtc_cursor_set2
and cursor_reset pass amdgpu_crtc->cursor_x/y as the x/y parameters of
cursor_move_locked, which would break if the CRTC isn't located at
(0, 0).
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/atm/suni.c')
0 files changed, 0 insertions, 0 deletions