On Friday, May 6, 2016 8:50:14 AM PDT Chris Wilson wrote: > From: Kenneth Graunke <kenn...@whitecape.org> > > Allowing register copies where the source and destination are both > whitelisted should be safe, and is useful. For example, Mesa uses > this to load the command streamer math registers with data from the > pipeline statistics counters. > > v2: Reject writes to OACONTROL (and reads as well :( > > Signed-off-by: Kenneth Graunke <kenn...@whitecape.org> > Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk> # v1 > Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> > --- > drivers/gpu/drm/i915/i915_cmd_parser.c | 17 +++++++++++++++-- > 1 file changed, 15 insertions(+), 2 deletions(-)
Oh, probably a good call to disallow OACONTROL. Looks good to me. Thanks for fixing this up, Chris :)
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx