Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Keith Packard <keithp@keithp.com>
To: intel-gfx@lists.freedesktop.org
Cc: Ben Widawsky <ben@bwidawsk.net>
Subject: Re: [PATCH] drm/i915: Fix recursive calls to unmap
Date: Sat, 29 Oct 2011 19:51:26 -0700	[thread overview]
Message-ID: <yunpqhf2nv5.fsf@aiko.keithp.com> (raw)
In-Reply-To: <1319940443-5312-1-git-send-email-ben@bwidawsk.net>


[-- Attachment #1.1: Type: text/plain, Size: 543 bytes --]

On Sat, 29 Oct 2011 19:07:23 -0700, Ben Widawsky <ben@bwidawsk.net> wrote:

> +		/**
> +		 * Flag if GTT ptes shouldn't be modified.
> +		 *
> +		 * This is set when graphics virtual address space
> +		 * should not be changed. It's currently only useful for
> +		 * a workaround which requires that we serialize unmaps.
> +		 */
> +		bool freeze_ptes;
> +

Yucky. yucky. yucky.

What I expected was to see an extra argument passed down through the
call chain instead of a global variable here.

-- 
keith.packard@intel.com

[-- Attachment #1.2: Type: application/pgp-signature, Size: 827 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2011-10-30  2:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-30  2:07 [PATCH] drm/i915: Fix recursive calls to unmap Ben Widawsky
2011-10-30  2:51 ` Keith Packard [this message]
2011-10-30  2:56   ` Ben Widawsky
2011-10-30  4:10     ` Keith Packard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yunpqhf2nv5.fsf@aiko.keithp.com \
    --to=keithp@keithp.com \
    --cc=ben@bwidawsk.net \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox