]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Bump reserved size for legacy gen8 semaphore emission
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 08:07:04 +0000 (09:07 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 09:20:51 +0000 (10:20 +0100)
commit644dca665a7195ae663eb3efa58ac3a1441714cf
tree141e9521707e31186783d1c43627ae1667d4e16f
parent4c4f3ff267159acf4bc897693c5220569709ea8f
drm/i915: Bump reserved size for legacy gen8 semaphore emission

With 5 rings and a flush, we need 192 bytes of space to emit the
breadcrumb and semaphores. However, we need some spare room the size of
the single largest packet (36 dwords, 144 bytes) to accommodate
wraparound giving a grand total of 336 bytes

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461917226-9132-1-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.h