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 48B1714AD19; Mon, 16 Sep 2024 12:00:57 +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=1726488057; cv=none; b=VD/fniWE3Ztb2+uFq70Rs4qGtx8Qx+aKy2wOTX7/hgeUk6EULYPOsWjlcYgvusVXJz0qMxMjQosSdZGzciQgHLz4r0PP7E28lBNELHhx05AQl4dgUDm1HXjaHmwfJQIN6oKyKnSE/D4HbkKBxtSkQ6hmDXsGPjILDVWeiLC2VwQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726488057; c=relaxed/simple; bh=TOVD7Igml/zrb9T0SHxOhCVz747KU6ci8xbcNwOlXCs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=G6u9BFDcxQhnPkApmVe1SL94Is4mdNEkeNwV7/cQIQBNxjy89sw2l8zt35qKRy+tQgTp+b50tMgd8SQW3B1HYQuHP4kR9R4wXSFgBiGOWSAwJB6TaaMg+koHyRq4AeyInx5PC9qncqhJfss88U/rhcRBbePCjc0NHEIiLPlAevI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZgSvuVES; 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="ZgSvuVES" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C45BFC4CEC4; Mon, 16 Sep 2024 12:00:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726488057; bh=TOVD7Igml/zrb9T0SHxOhCVz747KU6ci8xbcNwOlXCs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZgSvuVESN1XAubdX5SweFqjjxIsF/DnQ76LgZW21EGyoLHrPZoQyWtAyauhgpk7D6 t8IUDzL8Ju7Y+uNDzyIequcZGJp/5scsMqPXd7ik9g2n1MRXGOEpiFnkUKoeuY7GAd Qt4bEPL8vXObgHSWh+IwkO6riJ022gguHf8j5Wmg= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Bouke Sybren Haarsma , Hans de Goede , Sasha Levin Subject: [PATCH 6.1 06/63] drm: panel-orientation-quirks: Add quirk for Ayn Loki Max Date: Mon, 16 Sep 2024 13:43:45 +0200 Message-ID: <20240916114221.255503676@linuxfoundation.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20240916114221.021192667@linuxfoundation.org> References: <20240916114221.021192667@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: 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 79ccf4959df4..5b2506c65e95 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