diff options
author | He Lugang <helugang@uniontech.com> | 2024-09-25 08:40:16 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-10-02 15:08:57 +0200 |
commit | 09b003ad1dd6a4bf1b364e8f03cba87b2de38d21 (patch) | |
tree | a664e940d177c41ddd76d6d57d8f221d5cd6d3fe /drivers/gpu/drm/i915/display/intel_psr.c | |
parent | drm/i915/soc: stop using IS_GEN9_LP() and IS_GEN9_BC() (diff) | |
download | linux-09b003ad1dd6a4bf1b364e8f03cba87b2de38d21.tar.xz linux-09b003ad1dd6a4bf1b364e8f03cba87b2de38d21.zip |
drm/i915:Remove unused parameter in marco
The parameter dev_priv is actually not used in macro PORT_ALPM_CTL
and PORT_ALPM_LFPS_CTL,so remove it to simplify the code.
Reviewed-by: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: He Lugang <helugang@uniontech.com>
Link: https://patchwork.freedesktop.org/patch/msgid/6C2E07E089F0CB73+20240925064016.733173-1-helugang@uniontech.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_psr.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_psr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c index e3357f3b5c70..8e9f068b9b2b 100644 --- a/drivers/gpu/drm/i915/display/intel_psr.c +++ b/drivers/gpu/drm/i915/display/intel_psr.c @@ -2123,7 +2123,7 @@ static void intel_psr_disable_locked(struct intel_dp *intel_dp) ALPM_CTL_ALPM_AUX_LESS_ENABLE, 0); intel_de_rmw(display, - PORT_ALPM_CTL(display, cpu_transcoder), + PORT_ALPM_CTL(cpu_transcoder), PORT_ALPM_CTL_ALPM_AUX_LESS_ENABLE, 0); } |