]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/radeon: Set cursor x/y to 0 when x/yorigin > 0.
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 30 Sep 2011 15:16:53 +0000 (17:16 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 3 Oct 2011 17:37:37 +0000 (18:37 +0100)
commit02e6859eae4a8e511fa1a2c9a689ea25cdc6166a
tree45ca3c2cb1328057d4e3b9f661fcb3659ad64932
parentb8aee294d89502469f2d80ae6afb93398d8227e0
drm/radeon: Set cursor x/y to 0 when x/yorigin > 0.

Apart from the obvious cleanup, this should make the line

cursor_end = x - xorigin + w;

correct now.

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>
drivers/gpu/drm/radeon/radeon_cursor.c