diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-21 12:06:50 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-22 12:53:10 -0700 |
commit | f06e8f7fe9f809bdecb9efeed13f9831e908b2d7 (patch) | |
tree | 8b795c88a1b8ed4eae8cc0a2daed1604e3c3442a /src/gallium | |
parent | 0c313419a02266c784118c879f57880f34087935 (diff) |
pan/decode: Validate MFBD tags
These tags need to match up with what's actually described by the MFBD,
so check this. Once this is checked, since the type and contents of the
FBD are obvious from printing above, there's no need to explicitly mark
off the framebuffer line.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_mfbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_mfbd.c b/src/gallium/drivers/panfrost/pan_mfbd.c index f8942b51de4..aaa31aa1b5b 100644 --- a/src/gallium/drivers/panfrost/pan_mfbd.c +++ b/src/gallium/drivers/panfrost/pan_mfbd.c @@ -381,7 +381,7 @@ panfrost_mfbd_upload( /* Return pointer suitable for the fragment section */ unsigned tag = MALI_MFBD | - (has_extra ? 0x2 : 0x0) | + (has_extra ? MALI_MFBD_TAG_EXTRA : 0) | (MALI_POSITIVE(rt_count) << 2); return m_f_trans.gpu | tag; |