Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1936959pxb; Thu, 16 Sep 2021 20:54:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFzwRppxwYE9eTiiaOaQ30dF9fqOvyL3qXGqEqswCTIKFh8WtoSCUsWT5K/4XaNtIYofd+ X-Received: by 2002:a05:6402:4247:: with SMTP id g7mr10206360edb.287.1631850842026; Thu, 16 Sep 2021 20:54:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631850842; cv=none; d=google.com; s=arc-20160816; b=tP5cx/c4Wwmm4HwcxTjt+462EXx42is5/6m8IamsTRqwWvJeBcctav60pOOP5pADm/ izkm/3Apn4+NtjbkP5fPiDlbWnMKt4/BkBaOfX3ttlCcQepVb0UlBLGJhfqaO2uqw60v T1dVLkct+yccCWX1Dk2MHmPITdAcB/tr/8BOymOKtUjB/FDQPb8jvt6d5e7tJBsivC+O ElK3Og3kpV/cfNNCA1zc7Xa2K5DIrK5niKQRtFC6+6VV+gPG4RLNkwAtyvgAe6Dw1sud eORZ3XJRUmXisDDjKDCVVoctcWYq/kTEQtoYRcbSyF3fsFyHVVPgcMT8yrEU++LxLMg+ e2nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NZ8xaM7Atm7RpaKoTKWADT5oW2XFiXHFgULMl8ZbLs8=; b=D5KOlc09kKU+ORfG91dL89dyFwxoxaiOzFNRCMGKQ+7xdTQ38s2zGBiNqAvL65ys3u a6Mr72BRaIBo5dHJ9S1dWA16v3kr4dCHix9NeMhJIxQlumCmwrGCvDo85R9SNEBRe+Ie wMmYfOgr3CD12UnraQU84GWvnoHx5xOQpvpz3mYKLZuGmnBNnUE5k6rkyBb9bF+IHXLz vej+RZ2YimRLOD4+pHzVNIoaQwDGH1JRsvacKry52YtXozZxGV8vubLb70CP+NU7EWUS rY+XkesAFmgKEd7wCij17fuUmm5yj7F27fu+/wvBtoFO2FxkN8e+iewQqxa7C+4o1Avm Z4Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Aeg8BH7Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f16si7042989edf.48.2021.09.16.20.53.38; Thu, 16 Sep 2021 20:54:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Aeg8BH7Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353436AbhIPRdk (ORCPT + 99 others); Thu, 16 Sep 2021 13:33:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:46940 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348097AbhIPRX6 (ORCPT ); Thu, 16 Sep 2021 13:23:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D363761A40; Thu, 16 Sep 2021 16:43:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631810608; bh=h7WoPbhk4P1tddmUKXsOWaZI7zGyW1QsZZxFbB4hm/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Aeg8BH7Yp5kfL86n4Ucn3F5GToiX4xidbzJBI2mryR4Rims44nEMyeKgNfCt6LJzf u4e0ORWZ2febI6QP++0LP0cHTA5FxlEGNB8ybxUYY6DdKStcFoZ600u8rfoo9whbio VV9lavh6BeMnY4EPgn8oVRIUmXSfjBO/TBQqBnwo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tomi Valkeinen , Daniel Vetter , Tomi Valkeinen , Sasha Levin Subject: [PATCH 5.14 161/432] drm/omap: Follow implicit fencing in prepare_fb Date: Thu, 16 Sep 2021 17:58:30 +0200 Message-Id: <20210916155816.207004228@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155810.813340753@linuxfoundation.org> References: <20210916155810.813340753@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Daniel Vetter [ Upstream commit 942d8344d5f14b9ea2ae43756f319b9f44216ba4 ] I guess no one ever tried running omap together with lima or panfrost, not even sure that's possible. Anyway for consistency, fix this. Reviewed-by: Tomi Valkeinen Signed-off-by: Daniel Vetter Cc: Tomi Valkeinen Link: https://patchwork.freedesktop.org/patch/msgid/20210622165511.3169559-12-daniel.vetter@ffwll.ch Signed-off-by: Sasha Levin --- drivers/gpu/drm/omapdrm/omap_plane.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/omap_plane.c b/drivers/gpu/drm/omapdrm/omap_plane.c index 801da917507d..512af976b7e9 100644 --- a/drivers/gpu/drm/omapdrm/omap_plane.c +++ b/drivers/gpu/drm/omapdrm/omap_plane.c @@ -6,6 +6,7 @@ #include #include +#include #include #include "omap_dmm_tiler.h" @@ -29,6 +30,8 @@ static int omap_plane_prepare_fb(struct drm_plane *plane, if (!new_state->fb) return 0; + drm_gem_plane_helper_prepare_fb(plane, new_state); + return omap_framebuffer_pin(new_state->fb); } -- 2.30.2