drm/radeon: Update AVIVO cursor coordinate origin before x/yorigin calculation.
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 30 Sep 2011 15:16:52 +0000 (17:16 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 16 Oct 2011 21:14:52 +0000 (14:14 -0700)
commit1a795f752c6c41c2bdb15290b9f42328289a27ce
tree88a3710823bff498abca8f70463676ae9d7be2ac
parenta671258da2cdb15fbb60dd0f22d13418ae4e76b2
drm/radeon: Update AVIVO cursor coordinate origin before x/yorigin calculation.

commit b8aee294d89502469f2d80ae6afb93398d8227e0 upstream.

Fixes cursor disappearing prematurely when moving off a top/left edge which
is not located at the desktop top/left edge.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/radeon_cursor.c