Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1795120pxb; Thu, 16 Sep 2021 16:06:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMiHYcklpmloenZYoX4w1AwYx2ZovOm+06VEibHhdB3cWEG5+1SpQNBMfUCmBBo4LtkkkX X-Received: by 2002:a05:6e02:134e:: with SMTP id k14mr5731806ilr.39.1631833618379; Thu, 16 Sep 2021 16:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631833618; cv=none; d=google.com; s=arc-20160816; b=WfNR/L/Kxvg+akl1iU4VRaU2QnsA3lj90TNcBERPHwJVuRludagP8W2OJ67Bl1aU0B qmv0yotR0p50cxg/bdyE0MebaMpCUwfq4uYDXUHNPZGHAzjqqDpT5/81wI9VQFeE/p6u jKMiteb1/lUJZQg6/WFqiDvc6zBCiasrwt4Y6yzaTkT48YbKUYAww0YjqEpyLTCx4S7b 95M9O7wWSdsCwHBkO+ps4aYKAQ547Xv1kQHg70yMowoGu/jMMtMn13gwKdGBKQswdsBi 4U8GHcLYHbm9fnJ5SQhkLPNNlN2rqTV7j3xuqk3ssDrIgcEObP/J+Z1n27Lln2wxAwCN QDjw== 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=oxOaY65kZMF3BA1pH17G1K0yOo0UeCDSE74tmAFNo3hM5qgyb/OPJvzu4KFEzD7rNp MZh6evR/MvY52txweTs8ETJOh49ndWtjLUAkBecqIrpT4s8CGky9X5/WfDLw0ikF4PCM rOO+U0psvIvT4F6MYBaFC0+A6rAQhGew2Khsf0k9O2o6NxLyDlZKApgKJ4ZLTdm2r2Cs 2DhnVB5rB8a03/iKjl/gwm1TzHlXF1rqUKsk2IxA8GTsrl8jyOzVyJ3Juhfjk/BAKrRZ SdwkQfPX2gipE6ntVtscMRg7CWsKOfZLrZEv9wNPIFWZUqEysf0X1AW8OgSg0YCPJdRe srbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HiypCQtx; 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 s5si3777541ilv.155.2021.09.16.16.06.46; Thu, 16 Sep 2021 16:06:58 -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=HiypCQtx; 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 S243008AbhIPQrI (ORCPT + 99 others); Thu, 16 Sep 2021 12:47:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:51718 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244185AbhIPQl2 (ORCPT ); Thu, 16 Sep 2021 12:41:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 544AC6126A; Thu, 16 Sep 2021 16:24:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631809451; bh=h7WoPbhk4P1tddmUKXsOWaZI7zGyW1QsZZxFbB4hm/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HiypCQtxaLr1fDDG08M1yUj/Vc6lZXGH7bxdeEV5ivFj3kfz8890aFzuhbPJqIxna OlvLrGo+BxHWkOZdhZmJ4P0HLEpIdf8h3hgxWLDqfF3SQhehhqkucvVAI+fYF8yjbQ WYAHj/7Ih2sfA45/MymsKvr3P2o3knUef+ukc/sk= 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.13 142/380] drm/omap: Follow implicit fencing in prepare_fb Date: Thu, 16 Sep 2021 17:58:19 +0200 Message-Id: <20210916155808.885018227@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155803.966362085@linuxfoundation.org> References: <20210916155803.966362085@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