Chris Wilson 41736a8e33 drm/i915: Use the precomputed value for whether to enable command parsing
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.

v2: Remove the inline for its single user, it is clear enough (and
shorter) without!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161124125851.6615-1-chris@chris-wilson.co.uk
2016-11-24 13:52:34 +00:00
..
2016-11-15 23:33:48 +01:00
2016-11-09 00:46:04 +05:30
2016-11-16 14:36:27 +01:00
2016-11-16 14:36:27 +01:00
2016-11-15 12:50:30 +01:00
2016-11-15 23:33:48 +01:00
2016-11-15 23:33:48 +01:00
2016-11-16 09:55:27 +01:00
2016-11-16 09:55:27 +01:00
2016-11-15 15:23:29 +01:00