From: Chris Wilson Date: Wed, 15 Apr 2015 15:39:59 +0000 (+0100) Subject: drm/i915: Simplify i915_gem_obj_is_pinned() test for set-tiling X-Git-Tag: omap-for-v4.2/fixes-rc1^2~17^2~58^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f30a61482df44ee75c4db73f7f3d70052b93e83;p=pandora-kernel.git drm/i915: Simplify i915_gem_obj_is_pinned() test for set-tiling Since the removal of the user pin_ioctl, the only means for pinning an object is either through binding to the scanout or during execbuf reservation. As the later prevents a call to set-tiling, we need only check if the obj is pinned into the display plane to see if we need reject the set-tiling ioctl. Signed-off-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed