summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-11-15 18:12:03 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2017-11-15 20:12:49 +0300
commit24fd018aaeaecdba79f85e2232ca37a412e2754b (patch)
treee7bdd895e06bd47add4e1e95e52574273ed4d7c8 /drivers/gpu/drm/i915/intel_ringbuffer.c
parent4667c2d54cff89d6413a49f60c784a7d17d3e7a7 (diff)
downloadlinux-24fd018aaeaecdba79f85e2232ca37a412e2754b.tar.xz
drm/i915/selftests: Increase size for mock ringbuffer
We don't actually emit any commands into the ringbuffer, so we set it very small. However, an upcoming change centralises the wait-for-space into i915_gem_request_alloc() and that imposes a minimum size upon all ringbuffers (mock or real) of MIN_SPACE_FOR_ADD_REQUEST. Grow the mock ringbuffer such that we allocate a single page for the struct+buffer, satisfying the new condition without wasting too much space. 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/20171115151204.8105-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions