public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] render state initialization (bdw rc6)
@ 2014-05-06 13:26 Mika Kuoppala
  2014-05-06 13:26 ` [PATCH v2 1/2] drm/i915: add render state initialization Mika Kuoppala
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Mika Kuoppala @ 2014-05-06 13:26 UTC (permalink / raw)
  To: intel-gfx; +Cc: ben, miku, kristen

Hi,

V2 series of the render state initialization patches.

I decided not to pursue the copying of the context object as the ctx
is quite big, atleast on bdw. As discussed in irc, the copying
could be done with blitter, on context creation time. But even then we would 
need to wait for it to complete. Pushing 1kbytes of commands doesn't
sound so bad when the alternative is to copy 18 pages.

The state generators can be found here but they are not needed for testing.
http://cgit.freedesktop.org/~miku/intel-gpu-tools/log/?h=null_state_gen

Here is the branch for testing:
http://cgit.freedesktop.org/~miku/drm-intel/log/?h=render_state

Thank you to all who provided feedback.
-Mika

Mika Kuoppala (2):
  drm/i915: add render state initialization
  drm/i915: add null render states for gen6, gen7 and gen8

 drivers/gpu/drm/i915/Makefile                 |    6 +
 drivers/gpu/drm/i915/i915_drv.h               |    2 +
 drivers/gpu/drm/i915/i915_gem_context.c       |    6 +
 drivers/gpu/drm/i915/i915_gem_render_state.c  |  186 ++++++++++
 drivers/gpu/drm/i915/intel_renderstate.h      |   48 +++
 drivers/gpu/drm/i915/intel_renderstate_gen6.c |  289 +++++++++++++++
 drivers/gpu/drm/i915/intel_renderstate_gen7.c |  253 +++++++++++++
 drivers/gpu/drm/i915/intel_renderstate_gen8.c |  479 +++++++++++++++++++++++++
 8 files changed, 1269 insertions(+)
 create mode 100644 drivers/gpu/drm/i915/i915_gem_render_state.c
 create mode 100644 drivers/gpu/drm/i915/intel_renderstate.h
 create mode 100644 drivers/gpu/drm/i915/intel_renderstate_gen6.c
 create mode 100644 drivers/gpu/drm/i915/intel_renderstate_gen7.c
 create mode 100644 drivers/gpu/drm/i915/intel_renderstate_gen8.c

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-05-14 11:25 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06 13:26 [PATCH v2 0/2] render state initialization (bdw rc6) Mika Kuoppala
2014-05-06 13:26 ` [PATCH v2 1/2] drm/i915: add render state initialization Mika Kuoppala
2014-05-06 13:41   ` Chris Wilson
2014-05-06 14:30     ` [PATCH v3 " Mika Kuoppala
2014-05-14 10:24       ` Mateo Lozano, Oscar
2014-05-14 11:13         ` Damien Lespiau
2014-05-14 11:24           ` Mateo Lozano, Oscar
2014-05-06 14:34     ` [PATCH v2 " Mika Kuoppala
2014-05-06 13:26 ` [PATCH v2 2/2] drm/i915: add null render states for gen6, gen7 and gen8 Mika Kuoppala
2014-05-06 13:39 ` [PATCH] tools/null_state_gen: generate null render state Mika Kuoppala
2014-05-06 13:47   ` Chris Wilson
2014-05-06 14:44     ` Mika Kuoppala
2014-05-09 15:15     ` Damien Lespiau
2014-05-08 14:37   ` Damien Lespiau
2014-05-08 14:43   ` Damien Lespiau
2014-05-08 15:10     ` Mika Kuoppala
2014-05-09 14:46   ` Damien Lespiau
2014-05-14 10:06   ` Damien Lespiau
2014-05-14 10:08 ` [PATCH v2 0/2] render state initialization (bdw rc6) Damien Lespiau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox