diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-09-15 15:09:30 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-18 06:01:59 (GMT) |
commit | c88f9f0c91de55efaece6d9bd9ec920b90244776 (patch) | |
tree | b171eada095c88ad432ec3cc320426771829ce8d /drivers/gpu/drm/radeon/radeon_object.c | |
parent | 733289c2656c556d5cf36eafa1c8ec77222c359f (diff) | |
download | linux-fsl-qoriq-c88f9f0c91de55efaece6d9bd9ec920b90244776.tar.xz |
drm/radeon/kms: Use surfaces for scanout / cursor byte swapping on big endian.
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_object.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_object.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_object.c b/drivers/gpu/drm/radeon/radeon_object.c index 1500d5b..73af463 100644 --- a/drivers/gpu/drm/radeon/radeon_object.c +++ b/drivers/gpu/drm/radeon/radeon_object.c @@ -188,6 +188,7 @@ int radeon_object_kmap(struct radeon_object *robj, void **ptr) if (ptr) { *ptr = robj->kptr; } + radeon_object_check_tiling(robj, 0, 0); return 0; } @@ -200,6 +201,7 @@ void radeon_object_kunmap(struct radeon_object *robj) } robj->kptr = NULL; spin_unlock(&robj->tobj.lock); + radeon_object_check_tiling(robj, 0, 0); ttm_bo_kunmap(&robj->kmap); } |