mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 03:48:06 +02:00
radeonsi: Disable EFC on VCN 2.2
VCN 2.2 doesn't support EFC.
Cc: mesa-stable
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31198>
(cherry picked from commit 009017c33c)
This commit is contained in:
parent
318f75ef7f
commit
cb29f5e0a7
2 changed files with 2 additions and 1 deletions
|
|
@ -514,7 +514,7 @@
|
|||
"description": "radeonsi: Disable EFC on VCN 2.2",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1150,6 +1150,7 @@ static bool si_vid_is_target_buffer_supported(struct pipe_screen *screen,
|
|||
target->buffer_format == PIPE_FORMAT_R10G10B10X2_UNORM;
|
||||
|
||||
if (sscreen->info.vcn_ip_version < VCN_2_0_0 ||
|
||||
sscreen->info.vcn_ip_version == VCN_2_2_0 ||
|
||||
sscreen->info.vcn_ip_version >= VCN_5_0_0 ||
|
||||
sscreen->debug_flags & DBG(NO_EFC))
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue