Re: [PATCH] drm/amdgpu: simplify nv and soc21 read_register functions

2022-05-05 Thread Christian König
Am 05.05.22 um 04:58 schrieb Alex Deucher: 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. Signed-off-by: Alex Deucher I still think the

[PATCH] drm/amdgpu: simplify nv and soc21 read_register functions

2022-05-04 Thread Alex Deucher
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. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/nv.c| 6 +++---