diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-04-15 18:39:59 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-04-16 12:20:29 +0300 |
commit | 1f30a61482df44ee75c4db73f7f3d70052b93e83 (patch) | |
tree | 03ffda73b82a7807073ef69c366e5fc74141038e /drivers/acpi/acpica/hwesleep.c | |
parent | b7192a567ca472ac774b19a672dab77cb1e4b4db (diff) | |
download | linux-1f30a61482df44ee75c4db73f7f3d70052b93e83.tar.xz |
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 <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/acpi/acpica/hwesleep.c')
0 files changed, 0 insertions, 0 deletions