ttm: Fix caching mode selection.
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 24 Jun 2009 17:57:34 +0000 (19:57 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Jul 2009 07:13:10 +0000 (17:13 +1000)
A bug caused a new caching state to be selected on each buffer object
validation regardless of the current caching state.
Moreover, a caching state could be selected that wasn't supported by
the memory type.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found