aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-02-26 11:22:31 +0000
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2016-02-26 13:16:36 +0000
commit2743179d955bd7313bb68517d9d0de57b0b873f7 (patch)
tree6c4a1acaf4b69af78930ea0a0a61b6d743cccf4c /drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
parent596c5923197b889e2b7dc9d2188799933125bbb5 (diff)
drm/i915: Execlists cannot pin a context without the object
Given that the intel_lr_context_pin cannot succeed without the object, we cannot reach intel_lr_context_unpin() without first allocating that object - so we can remove the redundant test. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1456485751-15213-1-git-send-email-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c')
0 files changed, 0 insertions, 0 deletions