Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp444868pxb; Thu, 9 Sep 2021 04:45:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/ys2hnykG4Bp1AB3JsENU0QtyYWbX+M0+PP+C27EaF0AO9sMPm8ANQs2SGlyV/dXvdov5 X-Received: by 2002:aa7:c04a:: with SMTP id k10mr2862248edo.32.1631187935439; Thu, 09 Sep 2021 04:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631187935; cv=none; d=google.com; s=arc-20160816; b=Qa6idGYh9CeF5NoEYzVK51iUz0WK2+8os0xvejFc6XDX0X7q5MTuOmPofY0vMNlNpp DekKPg7LazGYCk4EgJlFDrEs9EuEcxRu9EYb5hmLXR9U5DngIqnnp28UKO15dJxQ3gk0 bZqFEQM5aTa0Pe+yVgiFR8lD2FZ66BgxWcdWzy8jxSuwvDtevzkfBuvwUAZgFYMX5Ffl FMJ04Q7ZFUIL+urucn7i79fRZNXzlGAGl6g09V8g8gX6s6MgHAK/68K5YNO7gTLvdCwO iTy0DDiHGrRrP/eopBvXzbgOVqRIMlE/SeRe9VPAQd5a2HXObP1d6BLfV+kSkYEzGLLc aY6w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NZ8xaM7Atm7RpaKoTKWADT5oW2XFiXHFgULMl8ZbLs8=; b=dwvRFBZiUADu5aPQvH9luTNoZFkEh/mMJIyVXtMShlLf4snRdv95OCrxti+kXTxO4c TJda3XKu8AWFXfhWgClfqP6j+Eh8SbnJM8XY92r3Dzf3QPIWG04TL5tCNtjITsL6xSZl 3k+cB3jqHK5o3h6+rg8v2BNtbLTVv82sOXR+jfEQsNmfe/ZuEzEz0E2GM9fBpOSK+IJ3 Ot5fltYH8p8K58FTdZ9HbY3Qx7S3brrfhJUDVVKCKIoLhoV1VR3KaTxhTOxYDSsdy64p Ze7zc1fu/QDfLa365ZyP2H5+LUXJ/Q+z1KqHuSfQv7yYv5L42egltkXOx+WXBOULhrje InVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gnftX7RV; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e29si1567188ejl.212.2021.09.09.04.45.11; Thu, 09 Sep 2021 04:45:35 -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=@kernel.org header.s=k20201202 header.b=gnftX7RV; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236055AbhIILmg (ORCPT + 99 others); Thu, 9 Sep 2021 07:42:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:45652 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235919AbhIILmY (ORCPT ); Thu, 9 Sep 2021 07:42:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 38B1E611AD; Thu, 9 Sep 2021 11:41:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631187675; bh=h7WoPbhk4P1tddmUKXsOWaZI7zGyW1QsZZxFbB4hm/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gnftX7RVztAoncKgTlFHIQHUNienSlmll9W5Q4TDSUMffPezKBykcWoOZchjmfldy 84TQyHGEUBS2/1tMxKxoVlME6E+FLIv1jI4GoH6j5VXOE8gVhAqp0BhKYP7a6lZDnm bMdaziE6/zc7fS1b4kv5tko/SL8sLdlSpwkWZtKGny9XNY2nqkg5YciObfGTxaJ0bW vu5d4bMv7Iu5tz9e+t+bu9e1HBuAV/LjiHk7pdKwfJGPhxXTUinLkcpJkS/cEuKGw/ jjJIeHBa5Nn5M0ORMwcArZiKMiszzKjSdR2Bcs6DE9DoRi3aaFzPX1NeUJzF4YWh+/ SRoCXC7z9RkxA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Daniel Vetter , Tomi Valkeinen , Daniel Vetter , Tomi Valkeinen , Sasha Levin , dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 5.14 006/252] drm/omap: Follow implicit fencing in prepare_fb Date: Thu, 9 Sep 2021 07:37:00 -0400 Message-Id: <20210909114106.141462-6-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909114106.141462-1-sashal@kernel.org> References: <20210909114106.141462-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore 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