]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Extend psp_skip_tmr for bare-metal and sriov
authorHawking Zhang <Hawking.Zhang@amd.com>
Sun, 4 Jan 2026 14:37:56 +0000 (22:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Jan 2026 16:43:09 +0000 (11:43 -0500)
commit5e3f50fda28f8c2912110a4a597021eb05762356
tree0263cffbf9cd64e27e5815e6090908b00bdf1568
parent698fa62f56aa3600efcfb11dd04f84e938dfc5fa
drm/amdgpu: Extend psp_skip_tmr for bare-metal and sriov

In SRIOV, guest drivers no longer setup/destory
VMR starting from mp0 v11_0_7.

In bare-metal, if boot-time TMR is enabled, some
generation (e.g., mp0 v13_0_x) don’t need runtime
TMR allocation but still require SETUP_TMR command
with tmr address 0 for backward compatibility.
some newer generations require neither SETUP_TMR nor
DESTROY_TMR and will return errors if they are sent.
Driver relies on boot_time_tmr and autoload_supported
to handle these cases correctly.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c