From: "Murthy, Arun R" <arun.r.murthy@intel.com>
To: Suraj Kandpal <suraj.kandpal@intel.com>,
<dri-devel@lists.freedesktop.org>,
<intel-xe@lists.freedesktop.org>,
<intel-gfx@lists.freedesktop.org>
Cc: <ankit.k.nautiyal@intel.com>
Subject: Re: [PATCH 2/2] drm/i915/backlight: Modify condition to use panel luminance
Date: Thu, 10 Apr 2025 09:38:49 +0530 [thread overview]
Message-ID: <85699642-8c12-4bba-b2fb-ecabb00060fe@intel.com> (raw)
In-Reply-To: <20250408050138.2382452-3-suraj.kandpal@intel.com>
On 08-04-2025 10:31, Suraj Kandpal wrote:
> According to our internal spec we need to now check if both
> panel luminance and smooth brightness are available in panel for
> us to be able to change brightness using luminance value.
>
> Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
> ---
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Thanks and Regards,
Arun R Murthy
--------------------
> drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> 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 8173de8aec63..20ab90acb351 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c
> @@ -663,7 +663,8 @@ intel_dp_aux_supports_vesa_backlight(struct intel_connector *connector)
> struct intel_dp *intel_dp = intel_attached_dp(connector);
> struct intel_panel *panel = &connector->panel;
>
> - if ((intel_dp->edp_dpcd[3] & DP_EDP_PANEL_LUMINANCE_CONTROL_CAPABLE)) {
> + if ((intel_dp->edp_dpcd[3] & DP_EDP_PANEL_LUMINANCE_CONTROL_CAPABLE) &&
> + (intel_dp->edp_dpcd[3] & DP_EDP_SMOOTH_BRIGHTNESS_CAPABLE)) {
> drm_dbg_kms(display->drm,
> "[CONNECTOR:%d:%s] AUX Luminance Based Backlight Control Supported!\n",
> connector->base.base.id, connector->base.name);
next prev parent reply other threads:[~2025-04-10 4:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-08 5:01 [PATCH 0/2] Register bit definition for EDP_GENERAL_CAP2 Suraj Kandpal
2025-04-08 5:01 ` [PATCH 1/2] drm/dp: Add smooth brightness register bit definition Suraj Kandpal
2025-04-10 4:01 ` Murthy, Arun R
2025-04-10 5:31 ` Nautiyal, Ankit K
2025-04-08 5:01 ` [PATCH 2/2] drm/i915/backlight: Modify condition to use panel luminance Suraj Kandpal
2025-04-10 4:08 ` Murthy, Arun R [this message]
2025-04-10 5:41 ` Nautiyal, Ankit K
2025-04-10 5:45 ` Nautiyal, Ankit K
2025-04-08 5:24 ` ✗ Fi.CI.SPARSE: warning for Register bit definition for EDP_GENERAL_CAP2 Patchwork
2025-04-08 5:45 ` ✓ i915.CI.BAT: success " Patchwork
2025-04-08 7:45 ` ✓ i915.CI.Full: " Patchwork
2025-04-11 13:28 ` [PATCH 0/2] " Kandpal, Suraj
-- strict thread matches above, loose matches on Subject: below --
2025-04-11 6:02 Suraj Kandpal
2025-04-11 6:02 ` [PATCH 2/2] drm/i915/backlight: Modify condition to use panel luminance Suraj Kandpal
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=85699642-8c12-4bba-b2fb-ecabb00060fe@intel.com \
--to=arun.r.murthy@intel.com \
--cc=ankit.k.nautiyal@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=suraj.kandpal@intel.com \
/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