diff options
author | Imre Deak <imre.deak@intel.com> | 2019-05-09 20:34:43 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2019-05-14 14:06:30 +0300 |
commit | 6f08ebe779a3e5bec8ee3a14b9c15329a59221b1 (patch) | |
tree | 257e452484db23302bfe5e901cd07082d0f71cf3 /drivers/gpu/drm/i915/intel_display.c | |
parent | 6cfe7ec02e854278fb341e62db54d49a2b199c62 (diff) | |
download | linux-6f08ebe779a3e5bec8ee3a14b9c15329a59221b1.tar.xz |
drm/i915: Remove the unneeded AUX power ref from intel_dp_hpd_pulse()
The power get/put was added in
commit 1c767b339b39 ("drm/i915: take display port power domain in DP HPD handler")
Author: Imre Deak <imre.deak@intel.com>
Date: Mon Aug 18 14:42:42 2014 +0300
to account for the HW access in ibx_digital_port_connected(). This
latter call was in turn removed in
commit 7d23e3c37bb3 ("drm/i915: Cleaning up intel_dp_hpd_pulse")
Author: Shubhangi Shrivastava <shubhangi.shrivastava@intel.com>
Date: Wed Mar 30 18:05:23 2016 +0530
after which we didn't actually need the power reference.
One way we are accessing the HW during HPD pulse handling is via DP AUX
transfers, but the transfer function takes its own reference, so doesn't
need the reference in intel_dp_hpd_pulse().
The other spot is in
intel_psr_short_pulse()->intel_psr_disable_locked()
but that can only happen when the panel is enabled with the
corresponding modeset already holding the required power reference.
v2:
- Remove the unneeded power get/put from intel_psr_disable_locked().
(Ville)
- Checkpatch commit quoting format fix in the commit log.
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190509173446.31095-9-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
0 files changed, 0 insertions, 0 deletions