OSDN Git Service

drm/i915: Remove vestigal i915_gem_context locals from cmdparser
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 4 Dec 2019 23:26:16 +0000 (23:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Dec 2019 10:27:29 +0000 (10:27 +0000)
commit05975cd9eb8422d11fdcb29b065e5e942ec6b62c
treea5ed1e825e66ea6fe2df33b262aca083e30b1625
parent126d5de38542d47d5d8385ce374e33c2a7f34e51
drm/i915: Remove vestigal i915_gem_context locals from cmdparser

The use GEM context itself was removed in commit cd30a5031704
("drm/i915/gem: Excise the per-batch whitelist from the context"), but
the locals were left in place as an oversight. Remove the parameters and
clean up.

References: cd30a5031704 ("drm/i915/gem: Excise the per-batch whitelist from the context")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191204232616.94397-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
drivers/gpu/drm/i915/i915_cmd_parser.c
drivers/gpu/drm/i915/i915_drv.h