[Intel-gfx] [PATCH] drm/i915: HSW GT3 Slices: exec flag to warn kernel that userspace is using predication

Chris Wilson chris at chris-wilson.co.uk
Tue Oct 22 19:40:50 CEST 2013


On Tue, Oct 22, 2013 at 03:33:16PM -0200, Rodrigo Vivi wrote:
> I still think state_default is working, enough and simpler...
> or do you really want me to use config and max_config instead?

I think keeping the hw config separate from the requested config helps a
lot when reviewing the code in 6 months time. See pc8 for a recent
example where we also need to track hw vs sw state. Similarly in trying
to split the code that implements the policy and that implements the
mechanism.

The devil is in the details, of course, and so this suggestion may
indeed suck when implemented. You are free to refute any suggestion with
a good reason. :)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list