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 5A1251AB6FD; Sat, 12 Oct 2024 11:27:44 +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=1728732464; cv=none; b=YaIhAipmaQ4So39B36w4PHn6YHb2jp6TwfT/oyUVWpa5FQ7kczx6VgMOFldPhaO9Y3WyFSUBeNPjt7xI2cxNAB/X7sl5ojiqHl5wJ1iYSM32EygT0UJAriafAiMx3bIngc1xRy2luXZtN1UL9FW3G4XkoseNOXJLSheU+lKzrKU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728732464; c=relaxed/simple; bh=a15rdXWBom+EVLMzVNGaBrVj+vIfKEsnXYhppLf8LRo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Kh7a/iCbXUVOF/DvMyrW1wt+8QKeh3+/n+OWACwJoW4yOVHvnZ4c1zowWQQPl9gg7tX09S16EwxIv5uFTxB7TieSFKZDswIHbcN8IRB3EjkFZtx86Li854fIgd9O5saivjfB8zU70Hn/P8zxGKOfd4oUnl/NTiW7FMt/Et2f5o4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UbUBLW9P; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UbUBLW9P" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3226C4CEC7; Sat, 12 Oct 2024 11:27:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728732464; bh=a15rdXWBom+EVLMzVNGaBrVj+vIfKEsnXYhppLf8LRo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UbUBLW9PH13hXykO5rjQnQlXTjR4ox5xZiql3aLmK7Ir3tO2rD0aXENCL5khp1QSy BRwnesgIUip5gCzVIYYhTZToCLpNh2cKjpJ7cVZZz+1VbIBEL1grJu+spsh9gm/gDB dWBU/4ZPTGWXgZ2ND9/da0FPjLPxUPrDdP19G0uJC0aaaFMd4EXt2AiG26Pc1ABYYw wfQZWaj2wNZzDk/KnISiODrMyaMtf1t72Z8W6D8rCedzEigXo8mXQvtDX0KC1x8ue1 jWstzfycO4Wr85U170cvV6nIDRzzGStcGMSgaPtrB0Wur7nF3Ou4WTkX+2C85q3uC0 zRfiJeXu4mSEQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Bouke Sybren Haarsma , Hans de Goede , Sasha Levin , maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 6.6 12/20] drm: panel-orientation-quirks: Add quirk for Ayn Loki Max Date: Sat, 12 Oct 2024 07:26:44 -0400 Message-ID: <20241012112715.1763241-12-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241012112715.1763241-1-sashal@kernel.org> References: <20241012112715.1763241-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.6.56 Content-Transfer-Encoding: 8bit From: Bouke Sybren Haarsma [ Upstream commit 2c71c8459c8ca66bd8f597effaac892ee8448a9f ] Add quirk orientation for Ayn Loki Max model. This has been tested by JELOS team that uses their own patched kernel for a while now and confirmed by users in the ChimeraOS discord servers. Signed-off-by: Bouke Sybren Haarsma Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede Link: https://patchwork.freedesktop.org/patch/msgid/20240728124731.168452-3-boukehaarsma23@gmail.com 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 21f2f3abf90f0..df402f6c5dc98 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -208,6 +208,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_MATCH(DMI_BOARD_NAME, "KUN"), }, .driver_data = (void *)&lcd1600x2560_rightside_up, + }, { /* AYN Loki Max */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Loki Max"), + }, + .driver_data = (void *)&lcd1080x1920_leftside_up, }, { /* AYN Loki Zero */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"), -- 2.43.0