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:
dbdbbd2
)
panfrost: Clean up cases for emit_fbd
author
Alyssa Rosenzweig
<alyssa@collabora.com>
Wed, 12 May 2021 16:17:28 +0000
(12:17 -0400)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 12 May 2021 19:46:59 +0000
(19:46 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10774>
src/panfrost/lib/pan_cs.c
patch
|
blob
|
history
diff --git
a/src/panfrost/lib/pan_cs.c
b/src/panfrost/lib/pan_cs.c
index
0ff5b97
..
1988bde
100644
(file)
--- a/
src/panfrost/lib/pan_cs.c
+++ b/
src/panfrost/lib/pan_cs.c
@@
-878,16
+878,13
@@
pan_emit_fbd(const struct panfrost_device *dev,
const struct pan_tiler_context *tiler_ctx,
void *out)
{
- unsigned tags = 0;
-
if (dev->quirks & MIDGARD_SFBD) {
assert(fb->rt_count <= 1);
pan_emit_sfbd(dev, fb, tls, tiler_ctx, out);
+ return 0;
} else {
-
tags =
pan_emit_mfbd(dev, fb, tls, tiler_ctx, out);
+
return
pan_emit_mfbd(dev, fb, tls, tiler_ctx, out);
}
-
- return tags;
}
void