aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_renderstate_gen6.c
AgeCommit message (Collapse)AuthorFilesLines
2014-06-16drm/i915: Simplify processing of the golden render context stateChris Wilson1-0/+1
Rewrite i915_gem_render_state.c for the purposes of clarity and compactness, in the process we can eliminate some dodgy math that did not handle 64bit addresses correctly. Signed-off-by: Chris Wilson <[email protected]> Cc: Ville Syrjälä <[email protected]> Cc: Damien Lespiau <[email protected]> Cc: Mika Kuoppala <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
2014-05-14drm/i915: add null render states for gen6, gen7 and gen8Mika Kuoppala1-1/+280
These are generated with intel-gpu-tools/tools/null_state_gen v2: Don't use header file for states (Daniel Vetter) v3: Proper URB state size for gen8/GT3 (Damien Lespiau) Tested-by: Kristen Carlson Accardi <[email protected]> (v1) Tested-by: Oscar Mateo <[email protected]> (v2) Acked-by: Damien Lespiau <[email protected]> Signed-off-by: Mika Kuoppala <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
2014-05-14drm/i915: add render state initializationMika Kuoppala1-0/+10
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 <[email protected]> (v1) Tested-by: Oscar Mateo <[email protected]> Reviewed-by: Damien Lespiau <[email protected]> Signed-off-by: Mika Kuoppala <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>