[Intel-gfx] [PATCH 10/11] drm/i915: bind objects to the global gtt only when needed

Eric Anholt eric at anholt.net
Tue Nov 29 02:55:58 CET 2011


On Mon, 28 Nov 2011 22:24:54 +0100, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> And track the existence of such a binding similar to the aliasing
> ppgtt case. Speeds up binding/unbinding in the common case where we
> only need a ppgtt binding (which is accessed in a cpu coherent fashion
> by the gpu) and no gloabl gtt binding (which needs uc writes for the
> ptes).

For one month from mid-june to mid-july, Mesa master was setting
I915_GEM_DOMAIN_GTT in the workaround pipe control.  That was changed to
be _INSTRUCTION, because _GTT caused kernel oopses, and query objects
had already been doing _INSTRUCTION since forever.  There are no uses of
MI_STOREs in the driver.

I'd say the minor ABI change potential in here is safe.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20111128/77a58dbf/attachment.sig>


More information about the Intel-gfx mailing list