OSDN Git Service

drm/i915: Reduce context alignment
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Feb 2017 13:59:13 +0000 (13:59 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Feb 2017 16:01:47 +0000 (16:01 +0000)
commitafeddf50811253ee512fb9192cfb443891929776
tree061553fe75b5af1f49213f915b22fc802b6d857c
parent12946eceeb97a36a7087995646e077e9872ac99b
drm/i915: Reduce context alignment

No hardware was ever shipped that needed more than 4096 byte alignment
and future hardware will not use this legacy path. So reduce the
alignment to make it easier and quicker to launch workloads.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170227135913.8056-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/i915_gem_context.h
drivers/gpu/drm/i915/intel_ringbuffer.c