]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Allow userspace to specify ringsize on construction
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Feb 2020 19:22:05 +0000 (19:22 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Feb 2020 19:23:19 +0000 (19:23 +0000)
commit88be76cdafc7e60e2e4ed883bfe7e8dd7f35fa3a
tree1866e6ba31ab4a934e0469430b777a92e7aca8a1
parentd13a31770077a841dfa33f741079e82255ee0100
drm/i915: Allow userspace to specify ringsize on construction

No good reason why we must always use a static ringsize, so let
userspace select one during construction.

Link: https://github.com/intel/compute-runtime/pull/261
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Steve Carbonari <steven.carbonari@intel.com>
Reviewed-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200225192206.1107336-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gem/i915_gem_context.c
drivers/gpu/drm/i915/gt/intel_context_param.c [new file with mode: 0644]
drivers/gpu/drm/i915/gt/intel_context_param.h [new file with mode: 0644]
drivers/gpu/drm/i915/gt/intel_lrc.c
include/uapi/drm/i915_drm.h