[Intel-gfx] [PATCH 1/5] drm/i915: Place the Global GTT VM first in the list of VM
Kenneth Graunke
kenneth at whitecape.org
Sat Jan 25 09:32:33 CET 2014
On 01/24/2014 06:17 PM, Ben Widawsky wrote:
> From: Chris Wilson <chris at chris-wilson.co.uk>
>
> This is useful for debugging as we then know that the first entry is
> always the global GTT, and all later entries the per-process GTT VM.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
> ---
> drivers/gpu/drm/i915/i915_gem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
> index 024e454..946a577 100644
> --- a/drivers/gpu/drm/i915/i915_gem.c
> +++ b/drivers/gpu/drm/i915/i915_gem.c
> @@ -4634,7 +4634,7 @@ void i915_init_vm(struct drm_i915_private *dev_priv,
> INIT_LIST_HEAD(&vm->active_list);
> INIT_LIST_HEAD(&vm->inactive_list);
> INIT_LIST_HEAD(&vm->global_link);
> - list_add(&vm->global_link, &dev_priv->vm_list);
> + list_add_tail(&vm->global_link, &dev_priv->vm_list);
> }
>
> void
These five patches are:
Tested-by: Kenneth Graunke <kenneth at whitecape.org>
On Broadwell with drm-intel-nightly, I don't get the batchbuffer as part
of my error state, which is a regression. With these patches, it's back
again.
Thanks for investigating this, Ben.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20140125/3d06dde9/attachment.sig>
More information about the Intel-gfx
mailing list