]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: set ring buffer size to default for guc submission
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Thu, 16 Feb 2017 06:36:40 +0000 (14:36 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 Feb 2017 10:17:56 +0000 (10:17 +0000)
commitdcef4a29a79e7a57db1ccf63474d56d5287fae20
treee723f88b189613321a2443cbc5bf3fa37279734e
parent0d6653188698bb1db8f5d3ce2645f1c746375dea
drm/i915/gvt: set ring buffer size to default for guc submission

When not using GuC submission, the ring buffer size for GVT context is
512KB which is the max size. When switching to GuC submission, the ring
buffer size is required to be less than 16KB. So use the GVT context
default ring buffer size if GuC submission is enabled.

Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170216063639.GA17107@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem_context.c