summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/vce_v1_0.c
diff options
context:
space:
mode:
authorTimur Kristóf <timur.kristof@gmail.com>2025-11-07 16:57:38 +0100
committerAlex Deucher <alexander.deucher@amd.com>2025-11-11 21:54:18 -0500
commite583d31f44a78c8d9ed9901dca7645b4857414a4 (patch)
treeebabded6185777bec955275b2868849f7707cb32 /drivers/gpu/drm/amd/amdgpu/vce_v1_0.c
parentf2e18c946532db7357f33339d0ec1531ebf49ae4 (diff)
drm/amdgpu/vce: Clear VCPU BO, don't unmap/unreserve (v4)
The VCPU BO doesn't only contain the VCE firmware but also other ranges that the VCE uses for its stack and data. Let's initialize this to zero to avoid having garbage in the VCPU BO. Additionally, don't unmap/unreserve the VCPU BO. The VCPU BO needs to stay at the same location before and after sleep/resume because the FW code is not relocatable once it's started. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vce_v1_0.c')
0 files changed, 0 insertions, 0 deletions