On Tue, May 06, 2014 at 04:26:04PM +0300, Mika Kuoppala wrote: > 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 Acked-by: Damien Lespiau <damien.lespiau@xxxxxxxxx> > > 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 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/intel-gfx _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx