diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2022-05-04 23:24:00 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-06 16:56:57 -0400 |
commit | bf1781e17f30a594f959671af59a253e9313a9b9 (patch) | |
tree | 9d7f25cc5234e90d102b0c2a57ded8dd3bdd1a72 /drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | |
parent | 98f561884683cdca65bec80ef4dddfc3fe7aca63 (diff) | |
download | linux-bf1781e17f30a594f959671af59a253e9313a9b9.tar.bz2 |
drm/amdgpu: simplify nv and soc21 read_register functions
Check of the base offset for the IP exists rather than
explicitly checking for how many instances of a particular
IP there are. This is what soc15.c already does. Expand
this to nv.c and soc21.c.
Acked-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/gfx_v8_0.c')
0 files changed, 0 insertions, 0 deletions