From: Mika Kuoppala Date: Wed, 14 May 2014 14:02:16 +0000 (+0300) Subject: drm/i915: add render state initialization X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~38^2~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d0a6fa6c5e618bd978d625a215dc4a240ba3b3c;p=pandora-kernel.git drm/i915: add render state initialization HW guys say that it is not a cool idea to let device go into rc6 without proper 3d pipeline state. For each new uninitialized context, generate a valid null render state to be run on context creation. This patch introduces a skeleton with empty states. v2: - No need to vmap (Chris Wilson) - use .c files for state (Daniel Vetter) - no need to flush as i915_add_request does it - remove parameter for batch alloc size - don't wait for the init (Ben Widawsky) v3: - move to cpu/gpu (Chris Wilson) Tested-by: Kristen Carlson Accardi (v1) Tested-by: Oscar Mateo Reviewed-by: Damien Lespiau Signed-off-by: Mika Kuoppala Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed