aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2016-02-16 16:56:46 +0000
committerJani Nikula <[email protected]>2016-02-22 15:44:40 +0000
commit53188eb40121a135892881c5f61e41efce60b00a (patch)
tree3d05806cb97153d98dade972d6c48ea6cff3de6c /net/switchdev/switchdev.c
parentdrm/i915/lvds: Ensure the HW is powered during HW state readout (diff)
downloadkernel-53188eb40121a135892881c5f61e41efce60b00a.tar.gz
kernel-53188eb40121a135892881c5f61e41efce60b00a.zip
drm/i915/skl: Ensure HW is powered during DDB 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. Spotted-by: Mika Kuoppala <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93441 CC: Chris Wilson <[email protected]> Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 4d800030238878c1a98d1d3a37a3d673eea661ce) Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions