Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1082380ybt; Wed, 1 Jul 2020 18:24:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytn+fNL5TLqkDt+DkCIiNl1KBlC8KTm3qFvR6SyoBLAyfR2BmEQv0p2jqp0LdinYcUsDeo X-Received: by 2002:a50:b084:: with SMTP id j4mr32509880edd.131.1593653087308; Wed, 01 Jul 2020 18:24:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593653087; cv=none; d=google.com; s=arc-20160816; b=TlHL9PQb0LfAixml5KL40rEhBD42odV505mqQegFPCuaWXbEFe2DeBrEYPJdJVZgdQ QCzMilV0kkL+xABLS2cuF/HBKHBwkBiNPSqWKPM5ezauLhdJmuoHTzyJ2xXpoVp1MzpY 6dlvjNFHCU7vIn/iolDidJlm3VZxoYZlXCDppflhnQ2Ck1QZGfDv/3+yXgvE3yYleOwr P46wtd7u2fTeaAa+eK50vd2Z/cADojI3pPhdMU90vWr+uqYG4pYede1GigLV22YCgbaa a7sWXEnroTKTY0gr+LZ4C8gfUzpNH8dtakZPo37yjQbyMdDf7QV610TORXPyZhg68WFt ojEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XsH84fSbIcoGArLIJrWtmPmMLs0PQu9n+AAN8FdvjSU=; b=R7RSwUIQ+hfrKZxXFNyTRA9AhO2iiAiMEZoZwC36SjS/jakf8QELlElkFz6PWywmpY KAakBImPRgtyGyDnCkmcNWwK65KQtM8URozohMwo/+nhmT6ZZkCp8JleH1bvwEM1JDvN CnzhPhM4OV3vM4csQEZMN49AOvBGnXqa8Ih6QcM5zq1H0Q+CoAvCL5jpiyXC0mfVKgFr nEGeuIIqP0YhI1i70asAAGbN6WTES/i6J2x7rafmhWluZ354gzgunY0pO7QMO6+7B0b1 wl9iY+YEWS03pg7lQaYI09o1jDxxywMLFrZTaAGqFd0oieTSSpbPqMe7cPJsAt3D/o8o bVuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QimUm+gR; 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 pw26si5109856ejb.240.2020.07.01.18.24.24; Wed, 01 Jul 2020 18:24:47 -0700 (PDT) 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=default header.b=QimUm+gR; 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 S1728443AbgGBBXl (ORCPT + 99 others); Wed, 1 Jul 2020 21:23:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:54208 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728405AbgGBBXg (ORCPT ); Wed, 1 Jul 2020 21:23:36 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CA05920885; Thu, 2 Jul 2020 01:23:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593653016; bh=aLKc2SmUfn8SIjJJkUSZ8J7RkjL7/t9i+FwVY1Z71rM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QimUm+gRXX0PT1bE9/5JKenWEs4ZB/uZmFrdhA8QgmsW+T+3SryKeLJOieJubU8Q6 /IlR5a8ie44j/xAYxFcJO4IrU4hp51HL9AnZKpV/7qRP+MMBo7o9PgRLMsmmLsyR/m iSuNCOOcTgc2ulVG0j8WYWqlSCC8hLKH/oVfKyN0= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Hans de Goede , Emil Velikov , Sasha Levin , dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 5.7 33/53] drm: panel-orientation-quirks: Add quirk for Asus T101HA panel Date: Wed, 1 Jul 2020 21:21:42 -0400 Message-Id: <20200702012202.2700645-33-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200702012202.2700645-1-sashal@kernel.org> References: <20200702012202.2700645-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans de Goede [ Upstream commit 6c22bc18a3b93a38018844636557ad02e588e055 ] Like the Asus T100HA the Asus T101HA also uses a panel which has been mounted 90 degrees rotated, albeit in the opposite direction. Add a quirk for this. Reviewed-by: Emil Velikov Signed-off-by: Hans de Goede Link: https://patchwork.freedesktop.org/patch/msgid/20200531093025.28050-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 ffd95bfeaa94c..d11d83703931e 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -121,6 +121,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T100HAN"), }, .driver_data = (void *)&asus_t100ha, + }, { /* Asus T101HA */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T101HA"), + }, + .driver_data = (void *)&lcd800x1280_rightside_up, }, { /* GPD MicroPC (generic strings, also match on bios date) */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Default string"), -- 2.25.1