drm/i915/display: Introduce transcoder_has_vrr() helper
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 27 Mar 2025 14:46:28 +0000 (20:16 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 31 Mar 2025 03:58:26 +0000 (09:28 +0530)
commit7a6bf54c5f00b4a2d7a57e0733fd09216d9ea277
tree8608187d8ffdc6780c6b9a8f4c218814f127b38a
parent61601771ee63d88a39d56b427bbd1c838cf1e792
drm/i915/display: Introduce transcoder_has_vrr() helper

Introduce a new helper to check transcoder_has_vrr() and use
that to exclude transcoders which do not support VRR.

v2: Include HAS_VRR into the helper. (Ville)
v3: Drop the usage in places where not applicable. (Ville)

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/20250327144629.648306-2-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_display.c