OSDN Git Service

drm/ast: switch to using CACHED by default for sysram
authorDave Airlie <airlied@redhat.com>
Fri, 12 Sep 2014 04:32:40 +0000 (14:32 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 12 Sep 2014 07:32:12 +0000 (17:32 +1000)
commita9d6dd2554e35c0213382fff19f5dbf151707955
tree5ecc4dbef0d223010e916413e45de300cbcf11e3
parentfd7e0d719260259f6e4e7711bd63a4175557d559
drm/ast: switch to using CACHED by default for sysram

This fixes problems on ppc64 platforms, where we could end up using
a WC mapping for migrating BOs with memcpy, when really we want to
use cached memory.

Tested-by: Ben Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_ttm.c