diff options
author | Samuel Li <samuel.li@amd.com> | 2013-03-20 11:59:58 -0400 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2013-06-03 17:27:17 +0200 |
commit | 365e571d9de0b5979425c34210789afca4ea5f68 (patch) | |
tree | b34431646130bce9de8131b45631a286179b26be /src/radeon_exa_funcs.c | |
parent | bd2557ea5ef84b975060e929d5ece53ec464336f (diff) |
radeon: use direct mapping for fast fb access.
Signed-off-by: Samuel Li <samuel.li@amd.com>
Diffstat (limited to 'src/radeon_exa_funcs.c')
-rw-r--r-- | src/radeon_exa_funcs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c index 7166cd56..d9340c5f 100644 --- a/src/radeon_exa_funcs.c +++ b/src/radeon_exa_funcs.c @@ -412,6 +412,9 @@ RADEONUploadToScreenCS(PixmapPtr pDst, int x, int y, int w, int h, if (!radeon_bo_is_busy(driver_priv->bo, &dst_domain)) goto copy; } + /* use cpu copy for fast fb access */ + if (info->is_fast_fb) + goto copy; } size = scratch_pitch * h; |