[PATCH 1/2] drm/dp: Add smooth brightness register bit definition

Nautiyal, Ankit K ankit.k.nautiyal at intel.com
Thu Apr 10 05:31:00 UTC 2025


On 4/8/2025 10:31 AM, Suraj Kandpal wrote:
> Add DP_EDP_SMOOTH_BRIGHTNESS register bit definition for
> EDP_GENERAL_CAPABILITY 2 register.
>
> Signed-off-by: Suraj Kandpal <suraj.kandpal at intel.com>
> ---
>   include/drm/display/drm_dp.h | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h
> index c413ef68f9a3..ecf8b8d7b1f5 100644
> --- a/include/drm/display/drm_dp.h
> +++ b/include/drm/display/drm_dp.h
> @@ -1025,6 +1025,7 @@
>   #define DP_EDP_GENERAL_CAP_2		    0x703
>   # define DP_EDP_OVERDRIVE_ENGINE_ENABLED		(1 << 0)
>   # define DP_EDP_PANEL_LUMINANCE_CONTROL_CAPABLE		(1 << 4)
> +# define DP_EDP_SMOOTH_BRIGHTNESS_CAPABLE		(1 << 6)

Perhaps add eDP 2.0 in comments, as this Bit seems to be added in eDP2.0.

Regards,

Ankit

>   
>   #define DP_EDP_GENERAL_CAP_3		    0x704    /* eDP 1.4 */
>   # define DP_EDP_X_REGION_CAP_MASK			(0xf << 0)


More information about the Intel-xe mailing list