Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6012311pxb; Mon, 14 Feb 2022 13:06:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4qjMpLemsgaKIt8bedBs3rAIAM+EPsWQQGJariizga0AYYU72ulCHDGU14a5MWO++uswk X-Received: by 2002:a17:903:1105:: with SMTP id n5mr707194plh.144.1644872810119; Mon, 14 Feb 2022 13:06:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644872810; cv=none; d=google.com; s=arc-20160816; b=EX2uqniMuf+COBSopf6LDCOsrpP6RWidqCVCLf9Y+UZpccJs0BPwCXfY3vsG3KA+lF 0wu2lU2YFk3w2kP6GjPUBN/BLlg1aocu58rnvBz9sxcbqnMslZs1XetnitBZprNkLDYj r+E79M8zDAa7LPegbInRk/i19CCfqk42obrLI1Vom9CvTNWz7oqjl2ykRYGOGoPZ6+1R we7FZDfYuE0A0ot6bq6Pg5LBb4Jr/zs09arpHoF79u7OP2WG7Cnep0o3DkdnoelX5YPM Qv/V15NsqIxmZdU2UmH/UglW7lKStyhyU6wTWCp6S5ud/ujx4iYggomse+LMvFgPk5XU s7hA== 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=pwe7TOIIkgcES97E21LxUnobW9uktLP772YaJns0mOI=; b=TXXI1FCqa+pydWeRvWnb9zFmQCUueesROPg/ceHec+tYTEuw/mtgxj+UPtNFutd9ma Q7He/UApkpg+wsVMJ3OehN/WoVYcYqwZxs0DhCSGhj4zuOcV/+iqQILOf32l7ebgEWfY NN1Z7qvtO1QWE+8HmULGx4VfRIwnNZ3rvLRqToDiRCQMshVsRdkqm1GVhi/bs63F4P6+ n3T0Lpx1reTjqDnu6fdRNMHJmOnGwVUaARF561acGM6ZQDrxv/kG3WVIXSAC5kCeQRuB h4as+g6ger4nApSynVboZJiwuXhb9X3tmr8l1rAak2tG9Q5yr8XgkIuo/nO7q/svqbqi WGBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YyXqPyKs; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d6si31887248pfv.47.2022.02.14.13.06.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 13:06:50 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YyXqPyKs; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3E1CB8BF1A; Mon, 14 Feb 2022 12:27:19 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236786AbiBNKDJ (ORCPT + 99 others); Mon, 14 Feb 2022 05:03:09 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:43532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344007AbiBNJ6y (ORCPT ); Mon, 14 Feb 2022 04:58:54 -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 1E8F665837; Mon, 14 Feb 2022 01:46:17 -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 C39EEB80DC6; Mon, 14 Feb 2022 09:46:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6DC1C340F0; Mon, 14 Feb 2022 09:46:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1644831974; bh=HIPORMFuV//Hr3CiBeB8KOpD7vvvwHqgFISVkSXSIQY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YyXqPyKsi0TcN4Zb1dOSg2zWAfKgN1XStaGHLR8ENssg4X1KOtip5HAjoJVfnkWOt C4TKDN6DebfjCYNNR5jpnHyF/4onCcS2QOAQO/zCIcSdw7YwYCLdcBPBoX/XMshzsy EMzpfK4wNtAciRRB9zHGtFCgZJqKTXK3RSCnfV1Q= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Raymond Jay Golo , Daniel Vetter , Sasha Levin Subject: [PATCH 5.15 040/172] drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer Date: Mon, 14 Feb 2022 10:24:58 +0100 Message-Id: <20220214092507.778207223@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220214092506.354292783@linuxfoundation.org> References: <20220214092506.354292783@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Raymond Jay Golo [ Upstream commit d3cbc6e323c9299d10c8d2e4127c77c7d05d07b1 ] The 1Netbook OneXPlayer uses a panel which has been mounted 90 degrees rotated. Add a quirk for this. Signed-off-by: Raymond Jay Golo Signed-off-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20220113000619.90988-1-rjgolo@gmail.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index 9d1bd8f491ad7..448c2f2d803a6 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -115,6 +115,12 @@ static const struct drm_dmi_panel_orientation_data lcd1280x1920_rightside_up = { .orientation = DRM_MODE_PANEL_ORIENTATION_RIGHT_UP, }; +static const struct drm_dmi_panel_orientation_data lcd1600x2560_leftside_up = { + .width = 1600, + .height = 2560, + .orientation = DRM_MODE_PANEL_ORIENTATION_LEFT_UP, +}; + static const struct dmi_system_id orientation_data[] = { { /* Acer One 10 (S1003) */ .matches = { @@ -261,6 +267,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Default string"), }, .driver_data = (void *)&onegx1_pro, + }, { /* OneXPlayer */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ONE-NETBOOK TECHNOLOGY CO., LTD."), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "ONE XPLAYER"), + }, + .driver_data = (void *)&lcd1600x2560_leftside_up, }, { /* Samsung GalaxyBook 10.6 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."), -- 2.34.1