drm/i915/drrs: Refactor CPU transcoder DRRS check
authorBhanuprakash Modem <bhanuprakash.modem@intel.com>
Wed, 28 Feb 2024 05:55:02 +0000 (11:25 +0530)
committerJani Nikula <jani.nikula@intel.com>
Thu, 7 Mar 2024 13:52:14 +0000 (15:52 +0200)
commit2d04f8158548103c082190c8dbf6a19097e2423e
tree152451562a435077467719770436b95390d972bc
parent94ae4612ea336bfc3c12b3fc68467c6711a4f39b
drm/i915/drrs: Refactor CPU transcoder DRRS check

Rename cpu_transcoder_has_drrs() to intel_cpu_transcoder_has_drrs() and
move it to intel_drrs.[ch].

V2:
 - Move helpers to intel_drrs.[ch] (Jani)
 - Fix commit message (Jani)

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Cc: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240228055502.2857819-1-bhanuprakash.modem@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_drrs.c
drivers/gpu/drm/i915/display/intel_drrs.h