projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89ca4a0
)
radeonsi: don't make scanout resources linear except for cursors
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 9 Aug 2013 22:08:45 +0000
(
00:08
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 16 Aug 2013 23:48:25 +0000
(
01:48
+0200)
The surface allocator understands the scanout flag just fine.
This seems to improve performance for Ubuntu Unity on top of st/xorg
and it fixes the cursor.
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/r600_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/r600_texture.c
b/src/gallium/drivers/radeonsi/r600_texture.c
index ee8ee14fe32f40e1b3964220942b55455b51cf14..8e01b141af8950df5108a0053fb31c723d408ba5 100644
(file)
--- a/
src/gallium/drivers/radeonsi/r600_texture.c
+++ b/
src/gallium/drivers/radeonsi/r600_texture.c
@@
-515,7
+515,7
@@
struct pipe_resource *si_texture_create(struct pipe_screen *screen,
int r;
if (!(templ->flags & R600_RESOURCE_FLAG_TRANSFER) &&
- !(templ->bind & PIPE_BIND_
SCANOUT
)) {
+ !(templ->bind & PIPE_BIND_
CURSOR
)) {
if (templ->flags & R600_RESOURCE_FLAG_FORCE_TILING ||
templ->nr_samples > 1) {
array_mode = V_009910_ARRAY_2D_TILED_THIN1;