aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2016-02-12 18:55:16 +0200
committerJani Nikula <[email protected]>2016-02-22 17:44:37 +0200
commitd59410219ae396a5649eecff1a041e4588aff999 (patch)
tree772845c60e998154b2006fc4f4573677a4f440cc /lib/mpi/mpiutil.c
parent7a6252c6bce1124eebf620948280f8255a83f04a (diff)
drm/i915/ddi: Ensure the HW is powered during HW state readout
The assumption when adding the intel_display_power_is_enabled() checks was that if it returns success the power can't be turned off afterwards during the HW access, which is guaranteed by modeset locks. This isn't always true, so make sure we hold a dedicated reference for the time of the access. CC: Chris Wilson <[email protected]> Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit e27daab49718e3232318d8b539cb302521b4b724) Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions