summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-08-14 16:01:38 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-14 16:39:57 -0700
commitb78e04c17b345d79439c27ef7c76eb21410f2ff2 (patch)
tree2c044de5ebd0ee4decd2d4df661fd0ef49be6510 /src/gallium/drivers/panfrost
parent64720d1e9e36fa49b7bcea4bfdb4b998bdceadae (diff)
panfrost: Note "MFBD preload disable" bit
It's a chicken bit, as far as I can tell. Buck buck. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost')
-rw-r--r--src/gallium/drivers/panfrost/pan_mfbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/panfrost/pan_mfbd.c b/src/gallium/drivers/panfrost/pan_mfbd.c
index 3039ab96ab1..1f504294bda 100644
--- a/src/gallium/drivers/panfrost/pan_mfbd.c
+++ b/src/gallium/drivers/panfrost/pan_mfbd.c
@@ -73,7 +73,7 @@ panfrost_mfbd_format(struct pipe_surface *surf)
.unk3 = 0x4,
.flags = 0x8,
.swizzle = panfrost_translate_swizzle_4(swizzle),
- .unk4 = 0x8
+ .no_preload = true
};
if (desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB)
@@ -424,7 +424,7 @@ panfrost_mfbd_fragment(struct panfrost_context *ctx, bool has_draws)
} else {
struct mali_rt_format null_rt = {
.unk1 = 0x4000000,
- .unk4 = 0x8
+ .no_preload = true
};
rts[cb].format = null_rt;