diff options
| author | Chris Wilson <[email protected]> | 2016-02-26 11:22:31 +0000 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2016-02-26 13:16:36 +0000 |
| commit | 2743179d955bd7313bb68517d9d0de57b0b873f7 (patch) | |
| tree | 6c4a1acaf4b69af78930ea0a0a61b6d743cccf4c /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | drm/i915: Reduce the pointer dance of i915_is_ggtt() (diff) | |
| download | kernel-2743179d955bd7313bb68517d9d0de57b0b873f7.tar.gz kernel-2743179d955bd7313bb68517d9d0de57b0b873f7.zip | |
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 <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Signed-off-by: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions
