mesa/src/gallium/drivers/radeonsi
Ruijing Dong c617870e8f radeonsi/vcn: change max_poc to fixed value for hevc encoder.
problem: max_poc means the number of bits used in poc lsb
         in slice header, and it should not be related to GOP
	 size. When large GOP size used, it could generate
	 corrupted video, as the POC could not be correctly
	 decoded.

solution: use fixed value of max_poc (16) for now.

Cc: mesa-stable
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25214>
(cherry picked from commit fb0f51bc64)
2023-09-24 19:51:43 -07:00
..
ci radeonsi: fix RB+ and gfx11 issues with framebuffer state 2023-06-17 23:42:21 +00:00
glsl_tests ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
driinfo_radeonsi.h driconf: rework glthread enablement 2023-04-14 10:16:49 +00:00
gfx10_shader_ngg.c compiler: Rename shader_prim to mesa_prim and replace all usage of pipe_prim_type with mesa_prim 2023-06-03 03:29:03 +00:00
gfx11_query.c radeonsi: remove gfx10 NGG streamout 2023-06-17 23:42:21 +00:00
meson.build radeonsi: remove gfx10 NGG streamout 2023-06-17 23:42:21 +00:00
pspdecryptionparam.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_temporal.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_uvd.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_uvd.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_uvd_enc.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_uvd_enc.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_uvd_enc_1_1.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_vce.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_vce.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_vce_40_2_2.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_vce_50.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_vce_52.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_vcn.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_vcn.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_vcn_dec.c radeonsi/vcn: fix the incorrect dt_size 2023-09-24 11:29:00 -07:00
radeon_vcn_dec.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_vcn_dec_jpeg.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_vcn_enc.c radeonsi/vcn: change max_poc to fixed value for hevc encoder. 2023-09-24 19:51:43 -07:00
radeon_vcn_enc.h radeonsi: Use DIV_ROUND_UP instead of ALIGN_POT 2023-07-14 15:30:37 -07:00
radeon_vcn_enc_1_2.c treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
radeon_vcn_enc_2_0.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_vcn_enc_3_0.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_vcn_enc_4_0.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_vcn_enc_av1_default_cdf.h radeonsi/vcn: add av1 dpb variables and cdf table 2023-04-27 15:11:35 +00:00
radeon_video.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
radeon_video.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
si_blit.c radeonsi: fix refcnt imbalance related to util_blitter_save_fragment_constant_buffer_slot() 2023-07-05 20:01:09 +00:00
si_buffer.c radeonsi: remove RADEON_FLAG_MALL_NOALLOC due to no use 2023-06-06 18:01:35 +00:00
si_build_pm4.h radeonsi/gfx11: only use SET_*_PAIRS* packets on dGPUs 2023-07-09 04:18:05 -04:00
si_clear.c gallium: use u_default_clear_texture where applicable 2023-07-10 15:23:06 +00:00
si_compute.c radeonsi: fix a CDNA regression breaking compute 2023-07-31 05:31:25 -07:00
si_compute.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
si_compute_blit.c radeonsi: clean up #includes 2023-06-22 08:35:55 +00:00
si_cp_dma.c radeonsi: don't do PFP_SYNC_ME before CP DMA and compute blits 2023-06-17 23:42:21 +00:00
si_cp_reg_shadowing.c radeonsi/gfx11: fix GLCTS with register shadowing by keeping the CS preamble 2023-06-22 08:35:55 +00:00
si_debug.c gallium: Remove unused os_process.h in gallium/auxiliary 2023-06-20 05:02:51 +00:00
si_debug_options.h radeonsi: remove RADEON_FLAG_MALL_NOALLOC due to no use 2023-06-06 18:01:35 +00:00
si_descriptors.c radeonsi/gfx11: only use SET_*_PAIRS* packets on dGPUs 2023-07-09 04:18:05 -04:00
si_fence.c util: Replace all usage of PIPE_TIMEOUT_INFINITE with OS_TIMEOUT_INFINITE 2023-06-05 05:12:02 +00:00
si_get.c gallium: remove PIPE_CAP_CLEAR_TEXTURE 2023-07-10 15:23:06 +00:00
si_gfx_cs.c radeonsi/gfx11: use SET_SH_REG_PAIRS_PACKED for compute by buffering reg writes 2023-06-22 08:35:55 +00:00
si_gpu_load.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
si_nir_lower_abi.c nir: Use nir_builder_create 2023-06-27 18:13:02 +00:00
si_nir_lower_resource.c nir: use nir_fsub_imm 2023-05-25 06:59:25 +00:00
si_nir_lower_vs_inputs.c radeonsi: Use nir_builder_at 2023-07-03 15:21:37 +00:00
si_nir_optim.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
si_perfcounter.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
si_pipe.c util/u_queue: fix util_queue_finish deadlock by merging lock and finish_lock 2023-07-28 10:46:34 -07:00
si_pipe.h radeonsi: fix refcnt imbalance related to util_blitter_save_fragment_constant_buffer_slot() 2023-07-05 20:01:09 +00:00
si_pm4.c radeonsi/gfx11: only use SET_*_PAIRS* packets on dGPUs 2023-07-09 04:18:05 -04:00
si_pm4.h radeonsi: clean up #includes 2023-06-22 08:35:55 +00:00
si_public.h radeonsi: clean up #includes 2023-06-22 08:35:55 +00:00
si_query.c radeonsi: clean up query functions, make them static, remove forward decls 2023-06-22 08:35:55 +00:00
si_query.h radeonsi: clean up query functions, make them static, remove forward decls 2023-06-22 08:35:55 +00:00
si_sdma_copy_image.c radeonsi: increase SDMA gfx9+ limits 2023-06-06 18:01:35 +00:00
si_shader.c amd: Do shader binary alignment for prefetch at memory allocation time. 2023-07-11 12:01:45 +00:00
si_shader.h treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
si_shader_aco.c amd: Move ac_hw_stage to its own file 2023-07-03 21:12:45 +00:00
si_shader_info.c radeonsi: clean up #includes 2023-06-22 08:35:55 +00:00
si_shader_internal.h radeonsi: clean up #includes 2023-06-22 08:35:55 +00:00
si_shader_llvm.c ac/llvm,radeonsi: lower nir_load_user_data_amd in abi 2023-06-13 03:41:02 +00:00
si_shader_llvm_gs.c ac/llvm,radeonsi: lower nir_load_ring_gsvs_amd in abi 2023-06-09 10:53:41 +08:00
si_shader_llvm_ps.c ac, radeonsi: add and use ac_get_ps_iter_mask 2023-05-30 16:35:30 +00:00
si_shader_llvm_tess.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
si_shader_llvm_vs.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
si_shader_nir.c amd: drop support for LLVM 14 2023-06-07 19:56:55 +00:00
si_shaderlib_nir.c radeonsi: use imm-helpers 2023-06-29 07:08:19 +00:00
si_shaderlib_tgsi.c radeonsi: remove gfx10 NGG streamout 2023-06-17 23:42:21 +00:00
si_sqtt.c radv: fix capturing RGP on RDNA3 with more than one Shader Engine 2023-09-24 13:55:57 -07:00
si_state.c treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
si_state.h treewide: Replace the usage of ubyte/ushort with uint8_t/uint16_t 2023-06-27 18:18:29 +08:00
si_state_binning.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
si_state_draw.cpp radeonsi/gfx11: fix a regression with PAIRS packets due to shader changes 2023-07-11 13:25:35 +00:00
si_state_msaa.c radeonsi: rename the msaa_sample_locs state to sample locations 2023-06-06 18:01:35 +00:00
si_state_shaders.cpp radeonsi/gfx11: only use SET_*_PAIRS* packets on dGPUs 2023-07-09 04:18:05 -04:00
si_state_streamout.c radeonsi: remove gfx10 NGG streamout 2023-06-17 23:42:21 +00:00
si_state_viewport.c radeonsi/gfx11: only use SET_*_PAIRS* packets on dGPUs 2023-07-09 04:18:05 -04:00
si_test_dma_perf.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
si_test_image_copy_region.c treewide: use uint64_t / (u)intptr_t in image address calculations 2023-06-07 16:53:36 +00:00
si_texture.c treewide: use uint64_t / (u)intptr_t in image address calculations 2023-06-07 16:53:36 +00:00
si_uvd.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00