aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2022-02-22 18:51:32 +0200
committerImre Deak <imre.deak@intel.com>2022-02-28 17:03:32 +0200
commita5c517331279916e99e4ea02a50bfdd578861651 (patch)
tree46695d7dd0fbe99209143a7df09d85b20ec53ced /drivers/gpu/drm/i915/intel_pm.c
parentdrm/i915: Sanitize open-coded power well enable()/disable() calls (diff)
downloadwireguard-linux-a5c517331279916e99e4ea02a50bfdd578861651.tar.xz
wireguard-linux-a5c517331279916e99e4ea02a50bfdd578861651.zip
drm/i915: Remove redundant state verification during TypeC AUX power well disabling
Commit d5ce34da31456a ("drm/i915: Add state verification for the TypeC port mode") added a verification to the TypeC AUX power well enable()/disable() hooks to check if the TypeC port related to this power well is properly locked. If the disabling happens asynchronously the verification is skipped, since in this case the port is unlocked. The detection of asnychronous disabling doesn't work as intended though, since the power well's reference count is always 0 when its disable() hook is called (and since there won't be any domain reference held for this power well either, the verification is always skipped); remove the verification from the disable() hook for now. In the power well's enable() hook the power well's reference will be always >0 and there won't be any asynchronous disabling pending for it, so we can drop the async refcount check from there. No functional change. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Jouni Högander <jouni.hogander@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220222165137.1004194-4-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
0 files changed, 0 insertions, 0 deletions