From: Mika Kuoppala Date: Thu, 5 Feb 2015 16:41:48 +0000 (+0200) Subject: drm/i915: Take runtime pm reference on hangcheck_info X-Git-Tag: fixes-v4.0-rc1~91^2~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebbc7546d2099c94ff2ea940ae5ce740e512a66d;p=pandora-kernel.git drm/i915: Take runtime pm reference on hangcheck_info We read the coherent current seqno and actual head from ring. For hardware access we need to take runtime_pm reference. Get hardware specific values with runtime reference held and print them first to emphasize hw state vs bookkeepping. v2: Reorder output according to hw access (Chris) remove superfluous locking (Daniel) Testcase: igt/pm_rpm/debugfs-read Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88910 Tested-by: Ding Heng (v1) Signed-off-by: Mika Kuoppala Reviewed-by: Chris Wilson Signed-off-by: Jani Nikula --- Reading git-diff-tree failed