Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6868084rwi; Mon, 24 Oct 2022 07:06:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5X3mFD9dc5PZSrD4TuHuMq4MxlCZ4Q6GQIhADbsrwwE6s9eiB9BNujyiUuFTZppr9uy8CI X-Received: by 2002:a05:6402:50cd:b0:45d:109d:676c with SMTP id h13-20020a05640250cd00b0045d109d676cmr32057261edb.344.1666620364680; Mon, 24 Oct 2022 07:06:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666620364; cv=none; d=google.com; s=arc-20160816; b=shTn335wYJBuT8NQxGQx9TiTknrTHamq7Q8iPlwdANohhLrPUaVnq1wEl8SzbzM1lw Ojz+Cie/TS8V9YML/2jyzlTrp2pDfcFf67QjbdZulG3xVFpIjX0imIZhIn6FsiAt8pFh 5S/WB5EkHyI8628wr5ux+AuBbh9A9F3jysc3WVshPsmY3zvBoKIbLdzAVPfti8AzhBDa 177006NmIisD7khH/tnd53lrayzuVVl+EO8HYakjkZN4y+naYgOyJ+BgwTGXupZAqlRQ jqgl/jInII+UndiCIs7b0RTwPv3AYglqWSg90Y+f/MsezNEY74rNEBarDbEOdYLXhV3X iTeA== 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=kRVB8tQIxodMw9D4gjJpKNI2JyoWlM1ze1hf0sDpXvE=; b=cab3x+9yFO4zb6dnk4yP6PqZgKWZE5/hL4YWcYG7OzH3eCoy7uxwLPxGzmiqmhxyOK dwjgTgOS76uexz25PCqVWQdltXNxNlb3N4f34GGfeVIih+faH3+ddxTvTFaSVFxSvCUP Bn4Zw7QKlUJF/2GxLuknSSS6mme3rQYABSCuXZrfSBV95m3T0UmJRdPYF1N5heW4jnTF f/umxuOnwWypWSTTiiB0ahyS7AeT2742s1iEfr9JrUHfuMECUrW036xg9XFLzhv9H+q+ b4LUCGeUfwj3Xi3Prh8sbcIVIYI4gHFAIzXCLgNEElUsTg9Bi4YSJPgSDaAgPlJ9ELaU e9UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=v7S8zZjM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fg4-20020a056402548400b00461f2b974d2si584627edb.339.2022.10.24.07.05.38; Mon, 24 Oct 2022 07:06:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=v7S8zZjM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234385AbiJXMe6 (ORCPT + 99 others); Mon, 24 Oct 2022 08:34:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234221AbiJXM3k (ORCPT ); Mon, 24 Oct 2022 08:29:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91CB616588; Mon, 24 Oct 2022 05:03:51 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 7FB7D612E7; Mon, 24 Oct 2022 12:03:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91C87C433C1; Mon, 24 Oct 2022 12:03:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666612990; bh=Nxy2U0gzgIzMrtOcaB91OFC1EoClhzcPB5ggCZdx4mw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=v7S8zZjMPynlI+VSZi7ijQgf4E3/TFkNwveLnBFLG3xASOshwx3dZ5FzIrQuaoShW 490GuM/S/51apGAXPB4HQ2VPjlli/eNsl+4Yji7LG/Z29WMQn07vfKchvl5hLFBXv8 xMovve2hiq0O2qkgeEaIh9a06FrwFnOfOW7Vi4+o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Maya Matuszczyk , Hans de Goede , Sasha Levin Subject: [PATCH 4.19 197/229] drm: panel-orientation-quirks: Add quirk for Anbernic Win600 Date: Mon, 24 Oct 2022 13:31:56 +0200 Message-Id: <20221024113005.512681324@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024112959.085534368@linuxfoundation.org> References: <20221024112959.085534368@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: Maya Matuszczyk [ Upstream commit 770e19076065e079a32f33eb11be2057c87f1cde ] This device is another x86 gaming handheld, and as (hopefully) there is only one set of DMI IDs it's using DMI_EXACT_MATCH Signed-off-by: Maya Matuszczyk Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede Link: https://patchwork.freedesktop.org/patch/msgid/20220803182402.1217293-1-maccraft123mc@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 265df1e67eb3..bea1d3e7e964 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -95,6 +95,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "One S1003"), }, .driver_data = (void *)&lcd800x1280_rightside_up, + }, { /* Anbernic Win600 */ + .matches = { + DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "Anbernic"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Win600"), + }, + .driver_data = (void *)&lcd720x1280_rightside_up, }, { /* Asus T100HA */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), -- 2.35.1