From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com ([66.111.4.25]:34155 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934263AbdAJKC6 (ORCPT ); Tue, 10 Jan 2017 05:02:58 -0500 Date: Tue, 10 Jan 2017 11:02:56 +0100 From: Greg KH To: Michel =?iso-8859-1?Q?D=E4nzer?= Cc: stable@vger.kernel.org Subject: Re: [PATCH] drm/radeon: Always store CRTC relative radeon_crtc->cursor_x/y values Message-ID: <20170110100256.GA1011@kroah.com> References: <20170110064012.27609-1-michel@daenzer.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170110064012.27609-1-michel@daenzer.net> Sender: stable-owner@vger.kernel.org List-ID: On Tue, Jan 10, 2017 at 03:40:12PM +0900, Michel D�nzer wrote: > From: Michel D�nzer > > 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@vger.kernel.org > Signed-off-by: Michel D�nzer > Reviewed-by: Alex Deucher > Signed-off-by: Alex Deucher > --- > > 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