[Intel-gfx] [PATCH 07/13] drm/i915: Add register whitelist for DRM master
Chris Wilson
chris at chris-wilson.co.uk
Wed Jan 29 23:37:25 CET 2014
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. ;-)
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list