From patchwork Wed Nov 1 21:20:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 13443072 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 19FD9C4332F for ; Wed, 1 Nov 2023 21:26:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2670610E7AE; Wed, 1 Nov 2023 21:26:10 +0000 (UTC) Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by gabe.freedesktop.org (Postfix) with ESMTPS id E581610E7AE for ; Wed, 1 Nov 2023 21:26:08 +0000 (UTC) Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-5aa481d53e5so193416a12.1 for ; Wed, 01 Nov 2023 14:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698873968; x=1699478768; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RaBR3pdZUAMcYqGQ5rjk3BKUdj96ofVF3tOiVxQkxxA=; b=b6KktRpDzrxTYLPbb8CXyQ8B8XB9f7tpv7blv3lbG/cocRpEcBog0pr56lEX38CqCU XwSg1b0mADBuGCF/jGBPeEDR1boxKo3Ep51yOLRxxDFB+hvqCIjzI+0TvjuU14Q2f6K0 JS7FhXocPA2SKoGc/9As7U/qksNNXiVJEvobw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698873968; x=1699478768; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RaBR3pdZUAMcYqGQ5rjk3BKUdj96ofVF3tOiVxQkxxA=; b=vyBAhU+3vqVedCjnJXMiSfZ9UlvUf/ikSA8JpQF4nqnkzRCAj5V3Lw8nYy2QXDd/6e ZnZAjwmsrnWMBoovFMzAe++BnB00nwqJ+C55xNx/GjCRh+7oHHOvTvoEFXZjFFXI4jLM PF044rEE0LvX41O/dWw7sRq3j4WJNVtjh4lYQnYMnuTLP+K1EeDlGM1WgmjlfnwmACXj 2i3f7QjH8nXmyW4j0RpnOSsSj0BGsEPMct5gMdTjMlkpxd1AEI1vtUqzBtm6Ihib+s0w TYmee5WPPhMHgVaCUuP6paNqSwG7XkEAWKWUnImU4AmEXQzMXQNZs6/VZXH6qzoeIsRb PoRA== X-Gm-Message-State: AOJu0YwYWXhgY363VWWITY6DDjhbGSz8sjeejY4WhPgbMabp2C2dok7K HWMHQ8vA6xoZJgusnSwEZmfPvA== X-Google-Smtp-Source: AGHT+IGgARV5iLsJRlXNajtZlYEyZPKvJyobhwMJcQbUtPb3iVyOs339FAejB7L/BwYZAqms9kTZZQ== X-Received: by 2002:a17:90b:904:b0:280:2652:d4c with SMTP id bo4-20020a17090b090400b0028026520d4cmr10217498pjb.13.1698873968459; Wed, 01 Nov 2023 14:26:08 -0700 (PDT) Received: from hsinyi.sjc.corp.google.com ([2620:15c:9d:2:b410:473c:2b92:2e2e]) by smtp.gmail.com with ESMTPSA id ds21-20020a17090b08d500b00274262bcf8dsm1212976pjb.41.2023.11.01.14.26.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 14:26:08 -0700 (PDT) From: Hsin-Yi Wang To: Douglas Anderson Subject: [PATCH 0/3] Add a few panels and use correct modes Date: Wed, 1 Nov 2023 14:20:08 -0700 Message-ID: <20231101212604.1636517-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.42.0.869.gea05f2083d-goog MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , linux-kernel@vger.kernel.org, Maxime Ripard , dri-devel@lists.freedesktop.org, Thomas Zimmermann , Jessica Zhang , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This series contains 3 patches: 1. Add a few new generic edp panels. 2. Support a new quirk to override the mode read from edid 3. Unset preferred mode from edid if hard-coded mode presents. Hsin-Yi Wang (3): drm/panel-edp: Add several generic edp panels drm/panel-edp: Add override_edid_mode quirk for generic edp drm/panel-edp: Choose correct preferred mode drivers/gpu/drm/drm_modes.c | 16 ++++ drivers/gpu/drm/panel/panel-edp.c | 135 ++++++++++++++++++++++++++++-- include/drm/drm_modes.h | 1 + 3 files changed, 144 insertions(+), 8 deletions(-)