]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Move mi_set_context() into the legacy ringbuffer submission
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Nov 2017 15:26:31 +0000 (15:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Nov 2017 16:12:06 +0000 (16:12 +0000)
commit022bfce4f1b55b0f54df3f7f6a886707c44db637
treedd394daf60fa8460f5dac52f8d5a6fd25ab0bff7
parent6019af6e55db55c6160bd4de94a039d1b3dadc98
drm/i915: Move mi_set_context() into the legacy ringbuffer submission

The legacy i915_switch_context() is only applicable to the legacy
ringbuffer submission method, so move it from the general
i915_gem_context.c to intel_ringbuffer.c (rename pending!).

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/20171123152631.31385-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/intel_ringbuffer.c