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:35 +0200
committerImre Deak <imre.deak@intel.com>2022-02-28 17:03:33 +0200
commit90cf356bb4eb46a9f71248a28b2a5f1983a78a10 (patch)
tree328cd25d0a56fa73b66cd5cc82d57c90e7960f73 /drivers/gpu/drm/i915/intel_pm.c
parentdrm/i915: Move power well get/put/enable/disable functions to a new file (diff)
downloadwireguard-linux-90cf356bb4eb46a9f71248a28b2a5f1983a78a10.tar.xz
wireguard-linux-90cf356bb4eb46a9f71248a28b2a5f1983a78a10.zip
drm/i915: Add function to call a power well's sync_hw() hook
Add a function to call a power well's sync_hw() hook, instead of open-coding the same, as a step towards making the low-level power well internals (i915_power_well_ops/desc structs) hidden. The cached-enable state should be always up-to-date, so update it whenever sync_hw() is called. No functional change. Suggested-by: Jani Nikula <jani.nikula@intel.com> Cc: Jani Nikula <jani.nikula@intel.com> 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-7-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
0 files changed, 0 insertions, 0 deletions