]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Drop unneed i915 parameter from intel_ring_pin()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 27 Jul 2018 15:55:01 +0000 (16:55 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 27 Jul 2018 17:22:08 +0000 (18:22 +0100)
commit5503cb0decdc03c2f9dad53560bd5963aeb8fc8a
treeb2d4ba5f4734d3e7a6dc4babf7199ef993c734db
parent905febf592f7280084ee853b05d7bd59e26c4ca0
drm/i915: Drop unneed i915 parameter from intel_ring_pin()

As we now have a ring->vma available, we can just lookup our i915
pointer from inside the vm, and so not require the unsightly parameter.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180727155501.18963-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h