On to, 2016-11-24 at 11:31 +0000, Chris Wilson wrote: > As i915.enable_cmd_parser is an unsafe option, make it read-only at > runtime. Now that it is constant, we can use the value determined during > initialisation as to whether we need the cmdparser at execbuffer time. > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > --- > drivers/gpu/drm/i915/i915_cmd_parser.c | 21 --------------------- > drivers/gpu/drm/i915/i915_drv.h | 1 - > drivers/gpu/drm/i915/i915_params.c | 6 +++--- > drivers/gpu/drm/i915/i915_params.h | 2 +- > drivers/gpu/drm/i915/intel_ringbuffer.h | 15 +++++++++++++++ Just remove the whole getter function. With that; Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Regards, joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx