summaryrefslogtreecommitdiff
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@intel.com>2015-02-03 18:04:39 +0200
committerMika Kuoppala <mika.kuoppala@intel.com>2015-02-03 20:07:01 +0200
commit0cbc0db0e42fc1859a53b50d053825c1f42b201e (patch)
treed61ed5f4d8ac398216bb800f34165d78729f1786 /mm/rmap.c
parent3ab8e680755d04502b7ce3544c8e016ade8d10ad (diff)
drm/i915: Take runtime pm reference on hangcheck_info88910
We read the coherent current seqno and actual head from ring. For hardware access we need to take runtime_pm reference, which brings in locking. As this debugfs entry is for debugging hangcheck behaviour, including locking problems, we need to be flexible on taking them. Try to see if we get a lock and if so, get seqno and actual head from hardware. If we don't have exclusive access, get lazy coherent seqno and print token acthd for which the user can see that the seqno is of different nature. Testcase: igt/pm_rpm/debugfs-read Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88910 Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions