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 21CCF18D65E; Thu, 5 Sep 2024 09:59:46 +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=1725530387; cv=none; b=t078KK4PqP0NtvJRpueuOvnj9RnkpPbQcE66p3LPeJyvRTeQHxM6O7oovi6ecBPVKTHK9vFLg67XbZnkmSF7j7Qt2f66uSYIKuWbVMU1PWTppY2YGWGDQd0LZ5UZgEO1St2uKoXV3XsacpM1ScjBCLJCNJngoNTslNWckXeAVdE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725530387; c=relaxed/simple; bh=5o493a2IghPpSuC2K/nwk/3MVjns+N9hntjlpQERBHg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kkxRaUpxw7dCTnKqK5SaDXMZgYCY3ldI6QcQwnwiOVjVxBZtghlJITiOWoFkEjR4PVB6GQM/WrRZCCELpzqP+XYVUOiqL0k7wUbUjzAk9PyoC67bUeLmQS6ixR3LxK5jhoHMJOGnzt6SkohyA0yFwjaKtkr5RcDCP7b7AM3pLCE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xEL3CCa8; 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="xEL3CCa8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3024AC4CEC4; Thu, 5 Sep 2024 09:59:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1725530386; bh=5o493a2IghPpSuC2K/nwk/3MVjns+N9hntjlpQERBHg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xEL3CCa8zhfkidoRqrmgekIdi8fTrE3uWleMkbXdul++DeJCfcENc+3U8DQJhDQc8 jY7S10LPQA53NiMI2q0dB115NInpM5PHCLe+1XSRYsQxSAsjvLCWlMxbtWOxjFnMOe mAGHwgpqizrcqHLwI8mkmhvq3C9pW5u2j+qLRKPQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Philip Mueller , Hans de Goede , Sasha Levin Subject: [PATCH 6.1 001/101] drm: panel-orientation-quirks: Add quirk for OrangePi Neo Date: Thu, 5 Sep 2024 11:40:33 +0200 Message-ID: <20240905093716.137194044@linuxfoundation.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240905093716.075835938@linuxfoundation.org> References: <20240905093716.075835938@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Philip Mueller [ Upstream commit d60c429610a14560085d98fa6f4cdb43040ca8f0 ] This adds a DMI orientation quirk for the OrangePi Neo Linux Gaming Handheld. Signed-off-by: Philip Mueller Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede Link: https://patchwork.freedesktop.org/patch/msgid/20240715045818.1019979-1-philm@manjaro.org 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 5db52d6c5c35c..039da0d1a613b 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -414,6 +414,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"), }, .driver_data = (void *)&lcd1600x2560_leftside_up, + }, { /* OrangePi Neo */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "OrangePi"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "NEO-01"), + }, + .driver_data = (void *)&lcd1200x1920_rightside_up, }, { /* Samsung GalaxyBook 10.6 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."), -- 2.43.0