diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2013-11-27 18:20:34 -0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-12-10 22:47:33 +0100 |
commit | f65c9168983926962b25ae19073474d60dea0442 (patch) | |
tree | 97e73144ba856dd74424d27c2bef762f1916fcf4 /drivers/gpu/drm/i915/i915_sysfs.c | |
parent | cd2e9e908a86c44c83026acd95520a2761f0d64c (diff) | |
download | lwn-f65c9168983926962b25ae19073474d60dea0442.tar.gz lwn-f65c9168983926962b25ae19073474d60dea0442.zip |
drm/i915: add runtime put/get calls at the basic places
If I add code to enable runtime PM on my Haswell machine, start a
desktop environment, then enable runtime PM, these functions will
complain that they're trying to read/write registers while the
graphics card is suspended.
v2: - Simplify i915_gem_fault changes.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
[danvet: Drop the hunk in i915_hangcheck_elapsed, it's the wrong thing
to do.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_sysfs.c')
0 files changed, 0 insertions, 0 deletions