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 BAAFACFB43F for ; Mon, 7 Oct 2024 10:10:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 48A4C10E35F; Mon, 7 Oct 2024 10:10:33 +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="lQq3rGIi"; dkim-atps=neutral Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by gabe.freedesktop.org (Postfix) with ESMTPS id C802510E35F for ; Mon, 7 Oct 2024 10:10:31 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 4E682A419A7; Mon, 7 Oct 2024 10:10:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E0DEC4CEC6; Mon, 7 Oct 2024 10:10:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728295830; bh=SQE6VCqfPUtM/POirQiAo3cLXsTTJ0YFE2hG643ui1E=; h=Subject:To:Cc:From:Date:From; b=lQq3rGIiI9fRv13KirxdCiCalsbUIqZDNpQx+rcb69JOuFuHbwW+mbJcy8Sh/wQ5w zOCdQ2xal7KhWnQR+EqG+EudlO4tzNdmc/N327gaMJ93mvvFgxavXeZTv3gLw0e6qA nWfjgfRXyk0oyKoT9AwV3MmvD9gSN6qZFZ8JX22I= Subject: Patch "drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS" has been added to the 6.1-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:37 +0200 Message-ID: <2024100737-legibly-rival-181a@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 6.1-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-6.1 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 @@ -567,7 +567,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-6.1/drm-consistently-use-struct-drm_mode_rect-for-fb_damage_clips.patch