summaryrefslogtreecommitdiffstats
path: root/drivers/hid/uhid.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2016-02-16 18:56:46 +0200
committerJani Nikula <jani.nikula@intel.com>2016-02-22 17:44:40 +0200
commit53188eb40121a135892881c5f61e41efce60b00a (patch)
tree3d05806cb97153d98dade972d6c48ea6cff3de6c /drivers/hid/uhid.c
parent380bdff2d05b498227c80caedd125e8cfcdba00d (diff)
downloadlinux-53188eb40121a135892881c5f61e41efce60b00a.tar.bz2
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 <mika.kuoppala@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93441 CC: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1455719489-3008-1-git-send-email-imre.deak@intel.com (cherry picked from commit 4d800030238878c1a98d1d3a37a3d673eea661ce) Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/hid/uhid.c')
0 files changed, 0 insertions, 0 deletions