Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/i915
Chris Wilson e1a73a54a9 drm/i915: Measure the required reserved size for request emission
Instead of tediously and fragilely counting up the number of dwords
required to emit the breadcrumb to seal a request, fake a request and
measure it automatically once during engine setup.

The downside is that this requires a fair amount of mocking to create a
proper breadcrumb. Still, should be less error prone in future as the
breadcrumb size fluctuates!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190125100520.20163-1-chris@chris-wilson.co.uk
2019-01-25 11:19:39 +00:00
..
2019-01-09 10:26:36 +02:00
2018-11-20 12:49:24 +02:00
2018-03-08 10:07:18 +00:00
2018-08-28 18:49:33 +03:00
2019-01-14 16:18:16 +00:00