diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-10 10:23:33 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-06-16 17:53:09 (GMT) |
commit | 1ce826d436f33c8fc0cf8b51d213b496ea73e0a6 (patch) | |
tree | 9abd31ba2f1739f60e40ddbca8a0850195b75591 /drivers/gpu/drm/i915/intel_renderstate_gen6.c | |
parent | 6254b2042c794a8c2e14dc49b575a0708c823f88 (diff) | |
download | linux-1ce826d436f33c8fc0cf8b51d213b496ea73e0a6.tar.xz |
drm/i915: Simplify processing of the golden render context state
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 <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Damien Lespiau <damien.lespiau@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_renderstate_gen6.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_renderstate_gen6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_renderstate_gen6.c b/drivers/gpu/drm/i915/intel_renderstate_gen6.c index 740538a..56c1429 100644 --- a/drivers/gpu/drm/i915/intel_renderstate_gen6.c +++ b/drivers/gpu/drm/i915/intel_renderstate_gen6.c @@ -6,6 +6,7 @@ static const u32 gen6_null_state_relocs[] = { 0x0000002c, 0x000001e0, 0x000001e4, + -1, }; static const u32 gen6_null_state_batch[] = { |