projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c17b0b
)
winsys/radeon: don't call surface_best for FMASK
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 4 Nov 2016 11:30:08 +0000
(12:30 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Sat, 5 Nov 2016 17:36:26 +0000
(18:36 +0100)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98518
Acked-by: Edward O'Callaghan <funfunctor@folklore1984.net>
src/gallium/winsys/radeon/drm/radeon_drm_surface.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/radeon/drm/radeon_drm_surface.c
b/src/gallium/winsys/radeon/drm/radeon_drm_surface.c
index
8324d28
..
4d2acef
100644
(file)
--- a/
src/gallium/winsys/radeon/drm/radeon_drm_surface.c
+++ b/
src/gallium/winsys/radeon/drm/radeon_drm_surface.c
@@
-231,7
+231,7
@@
static int radeon_winsys_surface_init(struct radeon_winsys *rws,
surf_winsys_to_drm(&surf_drm, tex, flags, bpe, mode, surf_ws);
- if (!(flags &
RADEON_SURF_IMPORTED
)) {
+ if (!(flags &
(RADEON_SURF_IMPORTED | RADEON_SURF_FMASK)
)) {
r = radeon_surface_best(ws->surf_man, &surf_drm);
if (r)
return r;