mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-18 05:50:33 +01:00
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:
parent
a2b4617c00
commit
1ba427c4fb
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue