From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 62831256C60; Thu, 17 Apr 2025 18:23:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744914201; cv=none; b=o9FS/8/l3LxPbVULcUoOXOlnvxRKDAqFBavSBJH+1eo6iGUdncrFFSgaxd50QBweTmaabuoyUv/aV41mNQh68aCs5meWkV8P2h6oqn8wcF+2NCBTPObu2B6f5NHBaqKJcHYQ87UgZbFSSfiS+2I89zJMJ9o2QxAHs3G0rx+NCyg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744914201; c=relaxed/simple; bh=FStL+KUynSiCOzzF+orInz2h0GdbogJI8da4IGDqBGw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ES6iEg4SYEujIKiSp6Z/3GSf/S9xXfmV+AVttLDpRkd/Y9LCszgX2GVrNRYBUnDUEB+EvILhurOIBcFvOlvaMJTCveeN4IT88LqW/ifmBzn2dvZnk9vcNoUgVSrTg7SZhI8Y0+bT31tZ2+wmaB8XG8F3lWZMHIpeU7CRn5UVX4M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Wfj0hBYP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Wfj0hBYP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5776C4CEE4; Thu, 17 Apr 2025 18:23:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744914201; bh=FStL+KUynSiCOzzF+orInz2h0GdbogJI8da4IGDqBGw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Wfj0hBYPpJifVKr5htGUgkMy/uWvTxrFDJLL8U4NH/LfiGzEcYUG6UZenJJoA/Qkb sQkTB42R45lTnH7uvwzPaZFzA5zjER/5MiLHBAL9w8ePgaenZe41EV8tY7vupah65t g3rya2gpzRhacC2RmiRJcHODBkTiVQobknsH/sGY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Andrew Wyatt , John Edwards , Paco Avelar , Thomas Zimmermann , Hans de Goede , Sasha Levin Subject: [PATCH 6.13 139/414] drm: panel-orientation-quirks: Add new quirk for GPD Win 2 Date: Thu, 17 Apr 2025 19:48:17 +0200 Message-ID: <20250417175117.024201306@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250417175111.386381660@linuxfoundation.org> References: <20250417175111.386381660@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.13-stable review patch. If anyone has any objections, please let me know. ------------------ From: Andrew Wyatt [ Upstream commit a860eb9c6ba6cdbf32e3e01a606556e5a90a2931 ] Some GPD Win 2 units shipped with the correct DMI strings. Add a DMI match to correctly rotate the panel on these units. Signed-off-by: Andrew Wyatt Signed-off-by: John Edwards Tested-by: Paco Avelar Reviewed-by: Thomas Zimmermann Reviewed-by: Hans de Goede Signed-off-by: Thomas Zimmermann Link: https://patchwork.freedesktop.org/patch/msgid/20250213222455.93533-5-uejji@uejji.net Signed-off-by: Sasha Levin --- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index b57078cfdd80f..384a8dcf454fb 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -339,6 +339,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_BOARD_NAME, "Default string"), }, .driver_data = (void *)&gpd_win2, + }, { /* GPD Win 2 (correct DMI strings) */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "WIN2") + }, + .driver_data = (void *)&lcd720x1280_rightside_up, }, { /* GPD Win 3 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"), -- 2.39.5