OSDN Git Service

drm/i915: get runtime PM reference around GEM set_tiling IOCTL
authorImre Deak <imre.deak@intel.com>
Mon, 9 Nov 2015 18:16:26 +0000 (20:16 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 17 Nov 2015 16:43:30 +0000 (18:43 +0200)
commite64e6bd0f46c78b53b236474f59bd1290b834c89
tree00514a00272fa24549368dbf297b1d0d09a14e97
parent5bab6f60cb4d1417ad7c599166bcfec87529c1a2
drm/i915: get runtime PM reference around GEM set_tiling IOCTL

After fixing the same issue in the set_caching IOCTL and Chris' request
to check out the possibilities for an improved RPM ref handling I
noticed that we have the same issue in the set_tiling IOCTL. Fix this
up.I didn't see any bug reports about this one, but the GTT unbind
operation on this path accesses the HW, which needs the ref.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1447092986-11165-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/i915_gem_tiling.c