aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorSunil Khatri <[email protected]>2024-07-24 17:05:56 +0000
committerAlex Deucher <[email protected]>2024-07-27 21:28:28 +0000
commit50d10d9271f6c6542196c54275091c7b2c6edf97 (patch)
tree859656d5ba42889743ba737a5de16903a2d157f0 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amdgpu: add vcn ip dump ptr in vcn global struct (diff)
downloadkernel-50d10d9271f6c6542196c54275091c7b2c6edf97.tar.gz
kernel-50d10d9271f6c6542196c54275091c7b2c6edf97.zip
drm/amdgpu: add macro to calculate offset with instance
Add macro definition which calculate offset of the register with index override. This is useful in case when there is an array of registers which is common for all instances. To read registers in that case it is easy to define registers once and the index value is manually passed to calculate proper offset of register for each instance. Signed-off-by: Sunil Khatri <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions