radeonsi: Add debug option to enable low latency encode

Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30039>
This commit is contained in:
David Rosca
2024-07-03 18:30:23 +02:00
committed by Marge Bot
parent e63b0571bc
commit c06b944398
3 changed files with 4 additions and 0 deletions

View File

@@ -1524,6 +1524,8 @@ RadeonSI driver environment variables
Disable DPBB. Overrules the dpbb enable option. Disable DPBB. Overrules the dpbb enable option.
``noefc`` ``noefc``
Disable hardware based encoder color format conversion Disable hardware based encoder color format conversion
``lowlatencyenc``
Enable low latency encoding
``notiling`` ``notiling``
Disable tiling Disable tiling
``nofmask`` ``nofmask``

View File

@@ -87,6 +87,7 @@ static const struct debug_named_value radeonsi_debug_options[] = {
/* Multimedia options: */ /* Multimedia options: */
{ "noefc", DBG(NO_EFC), "Disable hardware based encoder colour format conversion."}, { "noefc", DBG(NO_EFC), "Disable hardware based encoder colour format conversion."},
{"lowlatencyenc", DBG(LOW_LATENCY_ENCODE), "Enable low latency encoding."},
/* 3D engine options: */ /* 3D engine options: */
{"nongg", DBG(NO_NGG), "Disable NGG and use the legacy pipeline."}, {"nongg", DBG(NO_NGG), "Disable NGG and use the legacy pipeline."},

View File

@@ -212,6 +212,7 @@ enum
/* Multimedia options: */ /* Multimedia options: */
DBG_NO_EFC, DBG_NO_EFC,
DBG_LOW_LATENCY_ENCODE,
/* 3D engine options: */ /* 3D engine options: */
DBG_NO_NGG, DBG_NO_NGG,