Re: [PATCH] drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 10, 2017 at 03:40:12PM +0900, Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer@xxxxxxx>
> 
> commit 4349bd775cc8fd75cb648e3a2036a690f497de5c upstream.
> 
> We were storing viewport relative coordinates for AVIVO/DCE display
> engines. However, radeon_crtc_cursor_set2 and radeon_cursor_reset pass
> radeon_crtc->cursor_x/y as the x/y parameters of
> radeon_cursor_move_locked, which would break if the CRTC isn't located
> at (0, 0).
> 
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Michel Dänzer <michel.daenzer@xxxxxxx>
> Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx>
> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
> ---
> 
> This is a backport for the 4.9 and possibly older stable branches.
> 
> BTW, this manual backport shouldn't have been necessary if this commit
> and surrounding commits to the same file had been cherry-picked in the
> same order as they are in mainline. Maybe any scripts used for that
> could be improved accordingly.

Sorry about that, normally I work off of the patch date in order to
determine the order, but sometimes get it wrong, as is the case here, my
fault.

Many thanks for the backport, now queued up.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]