diff --git a/src/panfrost/lib/pan_desc.c b/src/panfrost/lib/pan_desc.c index 23c7ee8ba1c..3c82d184e97 100644 --- a/src/panfrost/lib/pan_desc.c +++ b/src/panfrost/lib/pan_desc.c @@ -1022,7 +1022,8 @@ pan_fb_color_attachment_should_crc(const struct pan_fb_color_attachment *rt, uint64_t mod; struct pan_image_block_size renderblk_sz; - if (!rt->view || rt->discard || !pan_image_view_has_crc(rt->view)) + if (!rt->view || rt->discard || !rt->crc_valid || + !pan_image_view_has_crc(rt->view)) return false; mod = pan_image_view_get_first_plane(rt->view).image->props.modifier;