]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Add a helper to decide if AS SDP can be used
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Fri, 24 Apr 2026 09:09:41 +0000 (14:39 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 28 Apr 2026 10:47:00 +0000 (16:17 +0530)
commite2b3b2e8fa9831d54d6638c3e7e3d5cc1ea4a493
tree91dcfa81d1940deaf3bd1ca0a1da6b49ecc6dfef
parent60656fa8feb07bc767cb3cce1ae40d1d560f8b06
drm/i915/dp: Add a helper to decide if AS SDP can be used

Add a helper that determines whether AS SDP can be used for the
current DP configuration. For now this is true only when the sink
supports AS SDP and VRR is enabled, but more conditions may be added
later.

v2:
 - Rename to intel_dp_needs_as_sdp(). (Ville)
 - Add a #FIXME documenting non-atomic of DP SDP updates. (Ville)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260424090942.3060291-3-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c