Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3668797pxb; Mon, 24 Jan 2022 14:56:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXUs5wisY8eQxRwo76oiE8DXyB3MbCgsM7iM2GIeXQCbd8t4tLqVGxfpTjfTswBRomEF6n X-Received: by 2002:a63:fb58:: with SMTP id w24mr13632283pgj.445.1643064990550; Mon, 24 Jan 2022 14:56:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643064990; cv=none; d=google.com; s=arc-20160816; b=OuhtiDQz1xD404moTqGLIsd9G4cQGXFNbjxHwzJF5N0CIvgeEojBXCeuXjo5k26pBT AXlNjrBzUX1xV0hAGFqiRo6iVcP6GQg3Mwj0OS/G6SUKxCSbd7W39ATVoTVi0juCbk/B yoqgv/Qj8fxDA6PE2EK4vw9vgbQd3AGj+K4AVM1mayOi64OnbrDeRFMLLDCdkkoqmGTL KoUV3B7rls5Zc1i0fv7dyWgrKPgvooIHvdwwIgg6Qp/e9yVoCz1tyO3dFUUhM6nU5dGS xp1/XLrEDIBgb1is6crJPMSLKPTWRoZO2eJM/XQlBmAyACt2ZDoD5/T7gqgoY9eRGUut EoQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=GuNltna2wK9j1KIeLWV0Fc+KHtEx8ykYuQyANG0cW3c=; b=ItZOhmrk9WT/LKIF0aH0sE8PzeoJ+D8/gQK1enx6/J065XFQ0ZTmjlPtdhzWdJ3QO0 kT720uFP86pJ8CF6iCraPuHkhKPq8uQdSrXNGSFvGB86pP8bBVaKDY9M3afA9HD7tW18 ugHR6ttCU9SIcvWLtZD5kLsaRVuuMYZOSqeXKUg1QUM/LpxiMgnWZUZ+4ya6wJFeFGnr 5gbGWBKttE9uDhmuYnGbht8cLZ3Q9cXE6fDDF71f0WRmoosAanPRuPjtibHiPV9649Tg BhPeKn6a8V1imuj6VGCujpftN4Dgf6eYzWfKb8SGocnSIZ4pH/fPM29qMOlkDU5z3hOs i1tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zoqJRmWz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y65si11711226pgd.827.2022.01.24.14.56.18; Mon, 24 Jan 2022 14:56:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zoqJRmWz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1840326AbiAXWxM (ORCPT + 99 others); Mon, 24 Jan 2022 17:53:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1575167AbiAXVvG (ORCPT ); Mon, 24 Jan 2022 16:51:06 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA79DC093992; Mon, 24 Jan 2022 12:33:56 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5E6FCB81229; Mon, 24 Jan 2022 20:33:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86517C340E5; Mon, 24 Jan 2022 20:33:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643056435; bh=dxlHkkDhrDWGJRS2ZBt0S7lqBxv/VVktAClM8xc6FqM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zoqJRmWz8sgPjwuePON1rF8gGfBxkJ4GEQoTPe4GtW2dIZuGSCaTNwSYKhJQuWG7/ x6Ug+DftXXXuAV1zZSyZWJg6JD/9n25N6YGXE/gWcAplebb072ArbIHzKF5WJ26RP6 H8htF7tYw/EAL4BIOKxJ0HAKnTtrEIPgzzdRuW/8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yauhen Kharuzhy , Hans de Goede , Simon Ser , Sasha Levin Subject: [PATCH 5.15 484/846] drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L Date: Mon, 24 Jan 2022 19:40:01 +0100 Message-Id: <20220124184117.707083020@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans de Goede [ Upstream commit bc30c3b0c8a1904d83d5f0d60fb8650a334b207b ] The Lenovo Yoga Book X91F/L uses a panel which has been mounted 90 degrees rotated. Add a quirk for this. Cc: Yauhen Kharuzhy Signed-off-by: Hans de Goede Acked-by: Simon Ser Tested-by: Yauhen Kharuzhy Link: https://patchwork.freedesktop.org/patch/msgid/20211106130227.11927-1-hdegoede@redhat.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 a950d5db211c5..9d1bd8f491ad7 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -248,6 +248,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo ideapad D330-10IGM"), }, .driver_data = (void *)&lcd1200x1920_rightside_up, + }, { /* Lenovo Yoga Book X90F / X91F / X91L */ + .matches = { + /* Non exact match to match all versions */ + DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9"), + }, + .driver_data = (void *)&lcd1200x1920_rightside_up, }, { /* OneGX1 Pro */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SYSTEM_MANUFACTURER"), -- 2.34.1