Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp820272pxb; Tue, 9 Nov 2021 00:18:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwHrGRxsKKbndq+8auPMSiEX1R+IMy4W2SQ3ZPT3jTIF//eaXqzmYXwd74gqMz/+bEd3l4V X-Received: by 2002:a17:906:d9c8:: with SMTP id qk8mr7385002ejb.306.1636445917023; Tue, 09 Nov 2021 00:18:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636445917; cv=none; d=google.com; s=arc-20160816; b=U9t6/0UbK1bEiZn+8XL3M6Eku6WrEjZ3VnGplKq+72yp+6eTjOAgrQ04v0AbCCAnHY JCnbHCQssEbbow/LqFtRxKBjdJKS2PAkzL6AxjWFADH5BixpbbEZ4CJe3ScrQ7/SXdoM WlaWHDPzNAT7pHsriLtv6UkLwHAsBb/s5R2Kh+JCdRSUzxUoaX1sqQqsMQBcA9Qb0FDL 6Oz+KNjNH/MvLdRSTbjbKAa7Ok7uTrvb+558uD4Hj4KoZ0oyf3KstdFJvHGIswUbvBgu dOcZdYWTL4Ct1MtSQJRGcFrWCEtm0k3vsgTD3x+keYRYTn2C3eph1mpO8eg2Wx3AAbTd hP1g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Pl8wyH0Za9XcZPKZVyqm6KhEbV9QSYZUyxNj1mvAuxI=; b=0wLZBpAD1ffiM2c2al/3nMcMNivvXhPctwGGCKQKsx0CFjVHCKFapYuYeQaFmATguJ gJGb5aphNsJpmU3RBDD+po3wPTNTiHwHJTFgHejsOlnrjLBeyZlrP7anipqdWUCZwepk BzWN1h1hbAPGofamFvyM7VO8XLZZsNJrAdBFAA5GfbEWBk1erFtCtnU/7ofuTLxmIngv D73WAObASc6rL/4GteKeMTfuHKGqRqn7kFuezD6i0VDQH+zynaBuF3fSnQ2a+P6GZN0X N5tvtyUsN86UpnKNQijiwiTkiZNIgyboO2sc43c54oCrjYSnPopfcR7yRkK5DVa9Llcz ElFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XTLmSF5x; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nc37si40164168ejc.119.2021.11.09.00.18.11; Tue, 09 Nov 2021 00:18:37 -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=@kernel.org header.s=k20201202 header.b=XTLmSF5x; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238754AbhKIBCa (ORCPT + 99 others); Mon, 8 Nov 2021 20:02:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:58184 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236798AbhKIBC2 (ORCPT ); Mon, 8 Nov 2021 20:02:28 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id EEFAE61207; Tue, 9 Nov 2021 00:59:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636419583; bh=odmSdevAFY5g9HT/JAMOlYz3PtCpVziVvFLpahWTVxQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XTLmSF5xoctCaFcYTnL9qndEyRAO9Ro37gado2ZLSewrtYVfRGmUJXaVI1VZsGxav 7zzBxSUX03r3Nf3b1EtseWYL8hmo+YopPXL2mgvevHWk5610aPJIv3ueVoQZGNmrbb TiMNpj+U/5/MfhKYqxECfutRQpWORB/TGgq7N6YfkXn7dPmpmTZd/wS6gwcTgpREHD area7J7LcI5X52T8zVFECGA8xZy/HIvlyxPwwqlNersgzLDoQeSpEJBF3RD5eXcTOc 7OfNFM2cZi6bL2P/+VyVZfPDJfaFKSvmsg9mnd7nv7gzu3JBwsAJkwXzWSmUfvcG0K wxdvkXB0h9zug== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Hans de Goede , Simon Ser , Sasha Levin , maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 5.15 003/146] drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1 Date: Mon, 8 Nov 2021 12:42:30 -0500 Message-Id: <20211108174453.1187052-3-sashal@kernel.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211108174453.1187052-1-sashal@kernel.org> References: <20211108174453.1187052-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans de Goede [ Upstream commit a53f1dd3ab9fec715c6c2e8e01bf4d3c07eef8e5 ] The KD Kurio Smart C15200 2-in-1 uses a panel which has been mounted 90 degrees rotated. Add a quirk for this. Signed-off-by: Hans de Goede Acked-by: Simon Ser Link: https://patchwork.freedesktop.org/patch/msgid/20210530110428.12994-3-hdegoede@redhat.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/drm_panel_orientation_quirks.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index 5d0942e3985b2..cf4db2cdebbbd 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -205,6 +205,13 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_BOARD_NAME, "TW891"), }, .driver_data = (void *)&itworks_tw891, + }, { /* KD Kurio Smart C15200 2-in-1 */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "KD Interactive"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Kurio Smart"), + DMI_EXACT_MATCH(DMI_BOARD_NAME, "KDM960BCP"), + }, + .driver_data = (void *)&lcd800x1280_rightside_up, }, { /* * Lenovo Ideapad Miix 310 laptop, only some production batches * have a portrait screen, the resolution checks makes the quirk -- 2.33.0