diff options
author | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2014-05-14 17:02:16 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-05-14 19:16:13 +0200 |
commit | 9d0a6fa6c5e618bd978d625a215dc4a240ba3b3c (patch) | |
tree | 865a477b6df61c1c79e5154c0c91bfff189e59f7 /mm/slab.c | |
parent | 8b1bc9b4f189a9c483f73907f409b66b10fb926c (diff) | |
download | blackbird-op-linux-9d0a6fa6c5e618bd978d625a215dc4a240ba3b3c.tar.gz blackbird-op-linux-9d0a6fa6c5e618bd978d625a215dc4a240ba3b3c.zip |
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 <kristen@linux.intel.com> (v1)
Tested-by: Oscar Mateo <oscar.mateo@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions