mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 03:27:30 -04:00
drm/dp: Clean up DPRX feature enumeration macros
Align the DP_DPRX feature enumeration macros for better readability and consistency, and use the BIT() macro instead of open-coded shifts. Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Link: https://patch.msgid.link/20260428074457.3566918-3-ankit.k.nautiyal@intel.com
This commit is contained in:
committed by
Suraj Kandpal
parent
59e5e15fef
commit
f145a1cfc8
@@ -1202,10 +1202,10 @@
|
||||
# define DP_DPRX_SLEEP_WAKE_TIMEOUT_PERIOD_80_MS 0x04
|
||||
# define DP_DPRX_SLEEP_WAKE_TIMEOUT_PERIOD_100_MS 0x05
|
||||
|
||||
#define DP_DPRX_FEATURE_ENUMERATION_LIST_CONT_1 0x2214 /* 2.0 E11 */
|
||||
# define DP_ADAPTIVE_SYNC_SDP_SUPPORTED (1 << 0)
|
||||
# define DP_AS_SDP_FIRST_HALF_LINE_OR_3840_PIXEL_CYCLE_WINDOW_NOT_SUPPORTED (1 << 1)
|
||||
# define DP_VSC_EXT_SDP_FRAMEWORK_VERSION_1_SUPPORTED (1 << 4)
|
||||
#define DP_DPRX_FEATURE_ENUMERATION_LIST_CONT_1 0x2214 /* 2.0 E11 */
|
||||
# define DP_ADAPTIVE_SYNC_SDP_SUPPORTED BIT(0)
|
||||
# define DP_AS_SDP_FIRST_HALF_LINE_OR_3840_PIXEL_CYCLE_WINDOW_NOT_SUPPORTED BIT(1)
|
||||
# define DP_VSC_EXT_SDP_FRAMEWORK_VERSION_1_SUPPORTED BIT(4)
|
||||
|
||||
#define DP_128B132B_SUPPORTED_LINK_RATES 0x2215 /* 2.0 */
|
||||
# define DP_UHBR10 (1 << 0)
|
||||
|
||||
Reference in New Issue
Block a user