panfrost: Remove speculative if 0'd format bit code

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
Alyssa Rosenzweig 2019-02-09 01:13:23 +00:00
parent b1213a3947
commit 658961aec3
1 changed files with 0 additions and 6 deletions

View File

@ -151,12 +151,6 @@ panfrost_set_fragment_afbc(struct panfrost_context *ctx)
ctx->fragment_rts[0].format |= MALI_MFBD_FORMAT_AFBC;
/* Change colourspace from RGB to BGR? */
#if 0
ctx->fragment_rts[0].format |= 0x800000;
ctx->fragment_rts[0].format &= ~0x20000;
#endif
/* Point rendering to our special framebuffer */
ctx->fragment_rts[0].framebuffer = rsrc->bo->afbc_slab.gpu + rsrc->bo->afbc_metadata_size;