[Intel-gfx] [PATCH 07/13] drm/i915: Add register whitelist for DRM master
Volkin, Bradley D
bradley.d.volkin at intel.com
Thu Jan 30 00:18:21 CET 2014
On Wed, Jan 29, 2014 at 02:37:25PM -0800, Chris Wilson wrote:
> On Wed, Jan 29, 2014 at 01:55:08PM -0800, bradley.d.volkin at intel.com wrote:
> > From: Brad Volkin <bradley.d.volkin at intel.com>
> >
> > These are used to implement scanline waits in the X server.
> >
> > Signed-off-by: Brad Volkin <bradley.d.volkin at intel.com>
> > ---
> > drivers/gpu/drm/i915/i915_cmd_parser.c | 30 ++++++++++++++++++++++++++++++
> > 1 file changed, 30 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/i915/i915_cmd_parser.c b/drivers/gpu/drm/i915/i915_cmd_parser.c
> > index 18d5b05..296e322 100644
> > --- a/drivers/gpu/drm/i915/i915_cmd_parser.c
> > +++ b/drivers/gpu/drm/i915/i915_cmd_parser.c
> > @@ -234,6 +234,20 @@ static const u32 gen7_blt_regs[] = {
> > BCS_SWCTRL,
> > };
> >
> > +/* Whitelists for the DRM master. Magic numbers are taken from sna, to match. */
>
> It would be wiser to use the kernel defines, makes it look like we are
> actually in charge. ;-)
Will fix, though based on the sna commit history, it looks like you're in charge
either way :)
> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list