summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
diff options
context:
space:
mode:
authorTimur Kristóf <timur.kristof@gmail.com>2025-09-09 16:49:35 +0200
committerAlex Deucher <alexander.deucher@amd.com>2025-09-15 16:52:52 -0400
commitae5c2bee1680436d9bf8bfaca7416496adff0ee0 (patch)
treeb7e542d26d9cc602a6372232dcc77aa4da77b52f /drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h
parent156db7d353286b7bfd7f43f548a4046a97fe67c6 (diff)
drm/amdgpu: Fix allocating extra dwords for rings (v2)
Rename extra_dw to extra_bytes and document what it's for. The value is already used as if it were bytes in vcn_v4_0.c and in amdgpu_ring_init. Just adjust the dword count in jpeg_v1_0.c so that it becomes a byte count. v2: Rename extra_dw to extra_bytes as discussed during review. Fixes: c8c1a1d2ef04 ("drm/amdgpu: define and add extra dword for jpeg ring") 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/amdgpu_utils.h')
0 files changed, 0 insertions, 0 deletions