Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932883AbcCDBFL (ORCPT ); Thu, 3 Mar 2016 20:05:11 -0500 Received: from regular1.263xmail.com ([211.150.99.133]:52279 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757773AbcCDBFJ (ORCPT ); Thu, 3 Mar 2016 20:05:09 -0500 X-263anti-spam: KSV:0;BIG:0;ABS:1;DNS:0;ATT:0;SPF:S; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 1 X-SKE-CHECKED: 1 X-ADDR-CHECKED: 0 X-RL-SENDER: mark.yao@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: mark.yao@rock-chips.com X-UNIQUE-TAG: <57093808bd29d26eb5779f181cebbc58> X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Message-ID: <56D8DF39.8020104@rock-chips.com> Date: Fri, 04 Mar 2016 09:04:57 +0800 From: Mark yao User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: John Keeping CC: Heiko Stuebner , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/rockchip: vop: fix crtc size in plane check References: <1456143779-16208-1-git-send-email-john@metanate.com> In-Reply-To: <1456143779-16208-1-git-send-email-john@metanate.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 459 Lines: 14 On 2016年02月22日 20:22, John Keeping wrote: > If the geometry of a crtc is changing in an atomic update then we much I think "we much validate" should be "we must validate".:-) > validate the plane size against the new state of the crtc and not the > current size, otherwise if the crtc size is increasing the plane will be > cropped at the previous size and will not fill the screen. > > Signed-off-by: John Keeping -- Mark Yao