[Intel-gfx] [PATCH 11/13] drm/i915: Reject commands that would store to global HWS page

2014-02-18 Thread bradley . d . volkin
From: Brad Volkin PIPE_CONTROL and MI_FLUSH_DW have bits that would write to the hardware status page. The driver stores request tracking info there, so don't let userspace overwrite it. v2: trailing comma fix, rebased Signed-off-by: Brad Volkin --- drivers/gpu/drm/i915/i915_cmd_parser.c | 24

[Intel-gfx] [PATCH 11/13] drm/i915: Reject commands that would store to global HWS page

2014-01-29 Thread bradley . d . volkin
From: Brad Volkin PIPE_CONTROL and MI_FLUSH_DW have bits that would write to the hardware status page. The driver stores request tracking info there, so don't let userspace overwrite it. Signed-off-by: Brad Volkin --- drivers/gpu/drm/i915/i915_cmd_parser.c | 30 ++

Re: [Intel-gfx] [PATCH 11/13] drm/i915: Reject commands that would store to global HWS page

2014-02-05 Thread Jani Nikula
On Wed, 29 Jan 2014, bradley.d.vol...@intel.com wrote: > From: Brad Volkin > > PIPE_CONTROL and MI_FLUSH_DW have bits that would write to the > hardware status page. The driver stores request tracking info > there, so don't let userspace overwrite it. > > Signed-off-by: Brad Volkin > --- > drive