From nobody Fri Nov 22 02:36:48 2024 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB6521E0DFB; Mon, 18 Nov 2024 18:28:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.196 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731954523; cv=none; b=ocjdp7zUi1FKz6NLtGPa7EhM2x+s79ZVGbCdUWdxIqDgFs3Z29ggptd5ni9WlYSaRl0IlAmcHaDwM83L34NB0369lAKzkvCo+FGVrv8Bs6aEL88a+HCIqiuKZYcnWReDp+XzLkO6BJBnJTFjEYwycYVcK77pLgdMS3S4lJ06E6M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731954523; c=relaxed/simple; bh=xjvTGjXfgFXj5LQtobz7nAEZ20B22QpuW/oNRtKaDz8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=STeDZPZY6fScN1RNw3GZY2w94qqUB6rensopL5RLDcSg0rQtsWSu4QEU7rdOUcqcIgb26NiCAa1o8/fF+W3Luy0QPgebbXdMhJjPHPBBzL/5gUWXxVHMau7vO0LgUDYJG8Ko6H7m3Sz7Z3oT9LAn4Q5NJ5ngLGLvwDZ9yhp0ao4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=lfkJ/Jbg; arc=none smtp.client-ip=217.70.183.196 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="lfkJ/Jbg" Received: by mail.gandi.net (Postfix) with ESMTPSA id D89C0E0006; Mon, 18 Nov 2024 18:28:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1731954519; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bqvaGMl+KmIs6tRIGUSSlJtXdl/yiooo7tTRfYyTRYw=; b=lfkJ/Jbg0A1ZknOB0R4gQXE0mAIm4oKSecHm/9Fxzrgw58Gl9tMMHEYttG7EIRlMo7Ffqw tJs5HVLFB0gpcPJ765PFzWmrtxyjFWjaoDdl3XIGSRRFhTzB8rAKrMB/4tXQk79nvyyTcZ fX4Bl4gcqL7o6lnGVKGOACMN2GABS1yHCySaj9pPYgBPxY+AtLEfqK0uy7gwYEOdJ+vQPE SdkVSZMt9w5IX6FQVDktyyjxvKeT1rB03+0PtR5t+P2pt4yxHTob+/BOzcz2Mczjep/pkz BzoDuxvJulMGYrAa28JgIK3t376oSIqDKlR6tHrCLZengZHAkJePUf9Mvg6o7g== From: Louis Chauvet Date: Mon, 18 Nov 2024 19:28:24 +0100 Subject: [PATCH v14 9/9] drm/vkms: Remove useless drm_rotation_simplify Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241118-yuv-v14-9-2dbc2f1e222c@bootlin.com> References: <20241118-yuv-v14-0-2dbc2f1e222c@bootlin.com> In-Reply-To: <20241118-yuv-v14-0-2dbc2f1e222c@bootlin.com> To: Rodrigo Siqueira , Melissa Wen , =?utf-8?q?Ma=C3=ADra_Canal?= , Haneen Mohammed , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Jonathan Corbet , Louis Chauvet , Simona Vetter , Helen Koike , rdunlap@infradead.org, arthurgrillo@riseup.net, pekka.paalanen@haloniitty.fi, Simona Vetter Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, thomas.petazzoni@bootlin.com, jeremie.dautheribes@bootlin.com, miquel.raynal@bootlin.com, seanpaul@google.com, marcheu@google.com, nicolejadeyee@google.com, =?utf-8?q?Jos=C3=A9_Exp=C3=B3sito?= X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1246; i=louis.chauvet@bootlin.com; h=from:subject:message-id; bh=xjvTGjXfgFXj5LQtobz7nAEZ20B22QpuW/oNRtKaDz8=; b=owEBbQKS/ZANAwAIASCtLsZbECziAcsmYgBnO4dHISRrsvT6mZ5YkWlIznnL4TCKn3c633X/p +YpCshqo+mJAjMEAAEIAB0WIQRPj7g/vng8MQxQWQQgrS7GWxAs4gUCZzuHRwAKCRAgrS7GWxAs 4oOKEACMTXGXTZKbxHwRGWbUslBEUkGW4NaV+vJnQ8YWIdlB/lc4yNEb+mtRFnieqd54Fr9uIMu qLfCk3tK6GjDwkgZDANNcMdrEh0mXpliTXo+yITgEO1VUXRVE0lb0UNEj1mmVN9h1dc25+jF+8k HCALbMMJLVXPZILqLrM/zkSP6IBS1v870btMgxBO3aRILUgMxSBOQAjNibKfNGBcSJopei98ZmQ zvzR9gGTDe5hX87Lntkmr9hIMORq+YwUrN7uzjlVUxxU604oOl5w1CssB6jQ/jUXX7wLYAn6kgc DEUTKfojrgdnGsfSE3M+4CPU54fvT+UqWMybQ1u/XqVPr2rxENxtawtTQ8gSpttS3hlD0km5Mpc cwjGrEUQhA68/pvygGiVVqQs1+1DAfxMZnhTlDy/zRbhRBzj7N7ZYBwCjuHjJE/ZPyoo9K5Kqkc MPILhiX3222eUtYCIR7aUh7HI/n6tjCZIlQ0+7hlV0X+SQr9jxQPSm5nk3ZgETpO+CM0warFN2Z qMYQQqs5DJEIVWvnejrtaW7M9wKtOG11OMdXaxoDF2OuZWdnJ+dNoNo9RIX/D62QJIiQdKUwOlw W72phss7lLaKf5EFsXKuO0eE0it5lnVOUsvk2RZ6gEtAcL68N7DuJd5zy5HNpIXESMAj+8vWVeq WM7pBmuvpNPGHjQ== X-Developer-Key: i=louis.chauvet@bootlin.com; a=openpgp; fpr=8B7104AE9A272D6693F527F2EC1883F55E0B40A5 X-GND-Sasl: louis.chauvet@bootlin.com As all the rotation are now supported by VKMS, this simplification does not make sense anymore, so remove it. Acked-by: Ma=C3=ADra Canal Reviewed-by: Jos=C3=A9 Exp=C3=B3sito Signed-off-by: Louis Chauvet --- drivers/gpu/drm/vkms/vkms_plane.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpu/drm/vkms/vkms_plane.c b/drivers/gpu/drm/vkms/vkms_= plane.c index 8875bed7641043862fe933547be9f68fb4e2f59a..5a028ee96c9143709337abc7dad= 0ec608efb3ab4 100644 --- a/drivers/gpu/drm/vkms/vkms_plane.c +++ b/drivers/gpu/drm/vkms/vkms_plane.c @@ -115,12 +115,7 @@ static void vkms_plane_atomic_update(struct drm_plane = *plane, frame_info->fb =3D fb; memcpy(&frame_info->map, &shadow_plane_state->data, sizeof(frame_info->ma= p)); drm_framebuffer_get(frame_info->fb); - frame_info->rotation =3D drm_rotation_simplify(new_state->rotation, DRM_M= ODE_ROTATE_0 | - DRM_MODE_ROTATE_90 | - DRM_MODE_ROTATE_270 | - DRM_MODE_REFLECT_X | - DRM_MODE_REFLECT_Y); - + frame_info->rotation =3D new_state->rotation; =20 vkms_plane_state->pixel_read_line =3D get_pixel_read_line_function(fmt); } --=20 2.47.0