]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Return a default RCS context size
authorOscar Mateo <oscar.mateo@intel.com>
Thu, 11 Jan 2018 22:55:06 +0000 (14:55 -0800)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 19 Jan 2018 20:09:47 +0000 (18:09 -0200)
commitd5f1f3eb6db6159db4a15639e16dd2d5d45062b5
treeef56faa974a053f96eb308e08d80d037972a069d
parent72f39413d6b5abbc38966139e7f4bd0af39b1aa1
drm/i915: Return a default RCS context size

Instead of returning whatever size the latest GEN used. This is because
context sizes for new GENs can go up or down, but the only safe thing to
do for missing cases is to use the largest known one, whatever that is.

Suggested-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1515711307-28979-1-git-send-email-oscar.mateo@intel.com
drivers/gpu/drm/i915/intel_engine_cs.c