summaryrefslogtreecommitdiffstats
path: root/kernel/ptrace.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2014-08-26 13:26:56 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-08-26 13:13:03 +0200
commit604effb782a8a4d9a20c8af16bcbf86d742db119 (patch)
tree5fa05bbd21192f47c183ff41ab9109883a732eb1 /kernel/ptrace.c
parentc28135481428d0674fcc1da0740ed3f4343df5b2 (diff)
downloadblackbird-op-linux-604effb782a8a4d9a20c8af16bcbf86d742db119.tar.gz
blackbird-op-linux-604effb782a8a4d9a20c8af16bcbf86d742db119.zip
drm/i915: fix suspend/resume for GENs w/o runtime PM support
Before sharing common parts between the system and runtime s/r handlers we WARNed if the runtime s/r handlers were called on GENs that didn't support RPM. But this WARN is not correct if the same handler is called from the system s/r path, since that can happen on any platform. This also broke system s/r on old platforms. The issue was introduced in commit 016970beb05da6285c2f3ed2bee1c676cb75972e Author: Sagar Kamble <sagar.a.kamble@intel.com> Date: Wed Aug 13 23:07:06 2014 +0530 v2: - remove the WARN and depend on the HAS_RUNTIME_PM check in rutime_suspend/resume instead (Daniel) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82751 Signed-off-by: Imre Deak <imre.deak@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud