radeonsi/video: Allow DCC 256B block size with drm minor >= 63
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34148>
This commit is contained in:
@@ -43,7 +43,8 @@ struct pipe_video_buffer *si_video_buffer_create_with_modifiers(struct pipe_cont
|
||||
continue;
|
||||
|
||||
/* Filter out non displayable modifiers */
|
||||
if (AMD_FMT_MOD_GET(DCC_MAX_COMPRESSED_BLOCK, mod) == AMD_FMT_MOD_DCC_BLOCK_256B)
|
||||
if (sscreen->info.drm_minor < 63 &&
|
||||
AMD_FMT_MOD_GET(DCC_MAX_COMPRESSED_BLOCK, mod) == AMD_FMT_MOD_DCC_BLOCK_256B)
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user