From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755278AbcANOkd (ORCPT ); Thu, 14 Jan 2016 09:40:33 -0500 Received: from dougal.metanate.com ([90.155.101.14]:35692 "EHLO metanate.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755226AbcANOk3 (ORCPT ); Thu, 14 Jan 2016 09:40:29 -0500 From: John Keeping To: Mark yao Cc: John Keeping , Daniel Vetter , Linux Kernel Mailing List , dri-devel , "open list:ARM/Rockchip SoC..." , "linux-arm-kernel@lists.infradead.org" Subject: [PATCH 0/3] drm/rockchip: fix cursor performance with atomic Date: Thu, 14 Jan 2016 14:39:39 +0000 Message-Id: X-Mailer: git-send-email 2.7.0.226.gfe986fe In-Reply-To: <20160114142047.GD19130@phenom.ffwll.local> References: <20160114142047.GD19130@phenom.ffwll.local> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 14 Jan 2016 15:20:47 +0100, Daniel Vetter wrote: > Ugh. Oh well, there's not really anything we can do in core nore helpers > to make this easier for drivers. This really only can be fixed sensibly at > the hardware level. > > So yeah I think exposing framebuffer_changed as a helper is the way to go > here. OK, here's a series to do that. I also added a comment to rockchip_atomic_wait_for_complete() explaining why we can't use drm_atomic_helper_wait_for_vblanks(). John Keeping (3): drm/atomic-helper: Export framebuffer_changed() drm/rockchip: don't wait for vblank if fb hasn't changed drm/rockchip: explain why we can't wait_for_vblanks drivers/gpu/drm/drm_atomic_helper.c | 24 ++++++++++++++++++++---- drivers/gpu/drm/rockchip/rockchip_drm_fb.c | 14 ++++++++++++-- include/drm/drm_atomic_helper.h | 4 ++++ 3 files changed, 36 insertions(+), 6 deletions(-) -- 2.7.0.226.gfe986fe