From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1C58CCFB43F for ; Mon, 7 Oct 2024 10:10:05 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 93A0F10E354; Mon, 7 Oct 2024 10:10:04 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="XOgmqxNi"; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id BBCD710E354 for ; Mon, 7 Oct 2024 10:10:02 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id E22C15C5BD7; Mon, 7 Oct 2024 10:09:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61C53C4CEC6; Mon, 7 Oct 2024 10:10:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728295801; bh=ztrallMNA6lpsetHJ8JhdHJQg0bTY9dn6I9DlEVHtjU=; h=Subject:To:Cc:From:Date:From; b=XOgmqxNiZkhli8Zcv9vm3Oj3+9UbNULS83K0nKFpDd5R+k8bu9BgRYv8HFjHe5OVu 4RC0XBjUrgnQovPtv/y4eVTWMZKQ5zpb+tAjHLlbEiMx+1VaVkpcaM//CxFvexPVz3 LKpiG01JI4LXR2xLMXiaqO08ugdcCu1TSkRoYMqA= Subject: Patch "drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS" has been added to the 5.15-stable tree To: airlied@gmail.com, daniel.vetter@ffwll.ch, dmitry.baryshkov@linaro.org, drawat@vmware.com, dri-devel@lists.freedesktop.org, gregkh@linuxfoundation.org, lukasz.spintzyk@displaylink.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, simona@ffwll.ch, thellstrom@vmware.com, tzimmermann@suse.de, ville.syrjala@linux.intel.com Cc: From: Date: Mon, 07 Oct 2024 12:09:24 +0200 Message-ID: <2024100724-upgrade-hydrogen-64ca@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-stable: commit X-Patchwork-Hint: ignore X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This is a note to let you know that I've just added the patch titled drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-consistently-use-struct-drm_mode_rect-for-fb_damage_clips.patch and it can be found in the queue-5.15 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >From 8b0d2f61545545ab5eef923ed6e59fc3be2385e0 Mon Sep 17 00:00:00 2001 From: Thomas Zimmermann Date: Mon, 23 Sep 2024 09:58:14 +0200 Subject: drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Thomas Zimmermann commit 8b0d2f61545545ab5eef923ed6e59fc3be2385e0 upstream. FB_DAMAGE_CLIPS is a plane property for damage handling. Its UAPI should only use UAPI types. Hence replace struct drm_rect with struct drm_mode_rect in drm_atomic_plane_set_property(). Both types are identical in practice, so there's no change in behavior. Reported-by: Ville Syrjälä Closes: https://lore.kernel.org/dri-devel/Zu1Ke1TuThbtz15E@intel.com/ Signed-off-by: Thomas Zimmermann Fixes: d3b21767821e ("drm: Add a new plane property to send damage during plane update") Cc: Lukasz Spintzyk Cc: Deepak Rawat Cc: Daniel Vetter Cc: Thomas Hellstrom Cc: David Airlie Cc: Simona Vetter Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: dri-devel@lists.freedesktop.org Cc: # v5.0+ Reviewed-by: Dmitry Baryshkov Link: https://patchwork.freedesktop.org/patch/msgid/20240923075841.16231-1-tzimmermann@suse.de Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/drm_atomic_uapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/drm_atomic_uapi.c +++ b/drivers/gpu/drm/drm_atomic_uapi.c @@ -603,7 +603,7 @@ static int drm_atomic_plane_set_property &state->fb_damage_clips, val, -1, - sizeof(struct drm_rect), + sizeof(struct drm_mode_rect), &replaced); return ret; } else if (property == plane->scaling_filter_property) { Patches currently in stable-queue which might be from tzimmermann@suse.de are queue-5.15/drm-consistently-use-struct-drm_mode_rect-for-fb_damage_clips.patch