drm/dp: Add smooth brightness register bit definition
authorSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 11 Apr 2025 06:02:35 +0000 (11:32 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 11 Apr 2025 13:25:25 +0000 (18:55 +0530)
Add DP_EDP_SMOOTH_BRIGHTNESS register bit definition for
EDP_GENERAL_CAPABILITY 2 register.

--v2
-Add eDP 2.0 comment [Ankit]

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Link: https://lore.kernel.org/r/20250411060235.2732060-2-suraj.kandpal@intel.com
include/drm/display/drm_dp.h

index c413ef68f9a309d90a2a542192b272a84a5ba564..3001c0b6e7bb355970ee8b77655f9aa03cbf1e98 100644 (file)
 #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) /* eDP 2.0 */
 
 #define DP_EDP_GENERAL_CAP_3               0x704    /* eDP 1.4 */
 # define DP_EDP_X_REGION_CAP_MASK                      (0xf << 0)