From: Suraj Kandpal <suraj.kandpal@intel.com>
To: intel-xe@lists.freedesktop.org, intel-gfx@lists.freedesktop.org
Cc: arun.r.murthy@intel.com, Suraj Kandpal <suraj.kandpal@intel.com>
Subject: [PATCH 2/2] drm/i915/backlight: Cleanup try_vesa_interface assignments
Date: Thu, 19 Feb 2026 07:54:54 +0530 [thread overview]
Message-ID: <20260219022454.2417063-2-suraj.kandpal@intel.com> (raw)
In-Reply-To: <20260219022454.2417063-1-suraj.kandpal@intel.com>
Now that try_vesa_interface is the default fallback mechanism it
need not be reassigned to true based on certain checks.
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c b/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c
index f14abc48a2a7..e0d0eee30ef4 100644
--- a/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c
+++ b/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c
@@ -668,20 +668,12 @@ int intel_dp_aux_init_backlight_funcs(struct intel_connector *connector)
if (panel->vbt.backlight.type != INTEL_BACKLIGHT_VESA_EDP_AUX_INTERFACE)
try_intel_interface = true;
- try_vesa_interface = true;
- break;
- case INTEL_DP_AUX_BACKLIGHT_FORCE_VESA:
- try_vesa_interface = true;
break;
case INTEL_DP_AUX_BACKLIGHT_FORCE_INTEL:
try_intel_interface = true;
break;
}
- /* For eDP 1.5 and above we are supposed to use VESA interface for brightness control */
- if (intel_dp->edp_dpcd[0] >= DP_EDP_15)
- try_vesa_interface = true;
-
/*
* Since Intel has their own backlight control interface, the majority of machines out there
* using DPCD backlight controls with Intel GPUs will be using this interface as opposed to
--
2.34.1
next prev parent reply other threads:[~2026-02-19 2:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-19 2:24 [PATCH 1/2] drm/i915/backlight: Make try_vesa_interface as true Suraj Kandpal
2026-02-19 2:24 ` Suraj Kandpal [this message]
2026-02-19 3:10 ` ✓ i915.CI.BAT: success for series starting with [1/2] " Patchwork
2026-02-19 4:55 ` ✗ i915.CI.Full: failure " Patchwork
2026-02-20 5:15 ` [PATCH 1/2] " Nautiyal, Ankit K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260219022454.2417063-2-suraj.kandpal@intel.com \
--to=suraj.kandpal@intel.com \
--cc=arun.r.murthy@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox