[Intel-gfx] [PATCH] drm/i915: Add debugfs file to dump entire logical context

2014-11-04 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com The new 'i915_context_dump' file generates a hex dump of the entire logical context DRM object. It is useful for validating the contents of the default context set up by the golden state batch buffer. v1 - Reuse function i915_dump_lrc() instead of

[Intel-gfx] [PATCH] drm/i915: Include headers generated by IGT tool null_state_gen

2014-11-04 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com This commit synchronizes the intel_renderstate_genx.c files in the kernel source tree with those produced by the 'make states' command invoking null_state_gen. Replaced manually-added copyright headers from a previous commit. Signed-off-by: Armin Reese

[Intel-gfx] [PATCH] drm/i915: Add debugfs file to dump entire logical context

2014-10-30 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com The new 'i915_context_dump' file generates a hex dump of the entire logical context DRM object. It is useful for validating the contents of the default context set up by the golden state batch buffer. Signed-off-by: Armin Reese armin.c.re...@intel.com

[Intel-gfx] [PATCH 2/4] drm/i915 Add golden context support for Gen9

2014-10-24 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com This patch includes the Gen9 batch buffer to generate a 'golden context' for that product family. Signed-off-by: Armin Reese armin.c.re...@intel.com --- drivers/gpu/drm/i915/Makefile | 3 +- drivers/gpu/drm/i915/i915_gem_render_state.c

[Intel-gfx] [PATCH 4/4] drm/i915: Add debugfs file to dump entire logical context

2014-10-23 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com The new 'i915_context_dump' file generates a hex dump of the entire logical context DRM object. It is useful for validating the contents of the default context set up by the golden state batch buffer. Signed-off-by: Armin Reese armin.c.re...@intel.com

[Intel-gfx] [PATCH 3/4] drm/i915: Add copyright headers to all golden context source

2014-10-23 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com Existing Gen6, 7, 8, and 9 golden context source files are currently generated without the copyright header. Adding them manually here. Signed-off-by: Armin Reese armin.c.re...@intel.com --- drivers/gpu/drm/i915/intel_renderstate_gen6.c | 23

[Intel-gfx] [PATCH 1/4] drm/i915 Update Gen8 golden context batch buffer

2014-10-23 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com The file drivers/gpu/drm/i915/intel_renderstate_gen8.c is updated to the version created by IGT null_state_gen Signed-off-by: Armin Reese armin.c.re...@intel.com --- drivers/gpu/drm/i915/intel_renderstate_gen8.c | 802 -- 1 file

[Intel-gfx] [PATCH 1/3] drm/i915 Add golden context support for Gen9

2014-09-12 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com This patch includes the Gen9 batch buffer to generate a 'golden context' for that product family. Also: 1) IS_GEN9 macro has been added to drivers/gpu/drm/i915/i915_drv.h 2) drivers/gpu/drm/i915/intel_renderstate_gen8.c has been updated to the version

[Intel-gfx] [PATCH 3/3] drm/i915: Add debugfs file to dump entire logical context

2014-09-12 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com The new 'i915_context_dump' file generates a hex dump of the entire logical context DRM object. It is useful for validating the contents of the default context set up by the golden state batch buffer. Signed-off-by: Armin Reese armin.c.re...@intel.com

[Intel-gfx] [PATCH 2/3] drm/i915: Alternate batch buffer end for golden context BB

2014-09-12 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com Golden context batch buffers now can contain a set of offsets in which to optionally place MI_BATCH_BUFFER_END commands. This allows the driver to customize the GC batch for various chipsets in a family by requesting that the GC BB exit early for one

[Intel-gfx] [PATCH] drm/i915: Optimize the i915_gem_gtt_finish_object function

2014-07-11 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com Signed-off-by: Armin Reese armin.c.re...@intel.com --- drivers/gpu/drm/i915/i915_gem_gtt.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c index

[Intel-gfx] [PATCH] drm/i915: Do not unmap object unless no other VMAs reference it

2014-07-11 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com Signed-off-by: Armin Reese armin.c.re...@intel.com --- drivers/gpu/drm/i915/i915_gem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 87d0aac..676e5f4

[Intel-gfx] [PATCH] drm/i915: Optimize the i915_gem_gtt_finish_object function

2014-07-11 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com Signed-off-by: Armin Reese armin.c.re...@intel.com --- drivers/gpu/drm/i915/i915_gem_gtt.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c index

[Intel-gfx] [PATCH] drm/i915: Do not unmap object unless no other VMAs reference it

2014-07-11 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com Signed-off-by: Armin Reese armin.c.re...@intel.com --- drivers/gpu/drm/i915/i915_gem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 87d0aac..676e5f4

[Intel-gfx] [PATCH] igt/gem_partial_pwrite_pread: Add set-cache subtest to validate JIRA VIZ-3721

2014-06-12 Thread armin . c . reese
From: Armin Reese armin.c.re...@intel.com This subtest forces the driver down the code path in i915_gem_object_set_cache_level() which unbinds VMAs and triggers the kernel panic described in VIZ-3721. This test will pass if the bug fix is in place. Bugzilla: