]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/display: Remove a redundant function argument from intel_psr_enable_source()
authorGwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Wed, 26 May 2021 00:06:56 +0000 (17:06 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 26 May 2021 13:46:42 +0000 (06:46 -0700)
commit8ac094289a5d81631fa702126d53ff7225705784
tree438eedc9b9c790e4b6d5becff0fe1023f37e8a7a
parentbd6fd26bcbdf1815e2bb413590c26a512fe300e9
drm/i915/display: Remove a redundant function argument from intel_psr_enable_source()

It removes intel_crtc_state from function argument of
intel_psr_enable_source() in order to use intel_psr_enable_source()
without intel_crtc_state on other psr internal functions.
And we can get cpu_trancoder from intel_psr, therefore we don't need to
pass intel_crtc_state to this function.

Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210526000656.3060314-4-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_psr.c