I have a pretty old laptop with an AMD dGPU and I am trying to do OpenCL compute on it to make sure that device switching is handled correctly in some stuff I am testing. All the instructions I see to install amdgpu drivers is to have --no-dkms as an install flag. Doing amdgpu-install --usecase=opencl --no-dkms --opencl=legacy results in ERROR: using '--no-dkms' with '--opencl=legacy' is not supported

Specs:

HP Pavilion 15-br158cl

CPU: i7-8550u (HD 620 iGPU and this has working compute)

GPU: Radeon 530 2 GB DDR3

RAM: 24 GB

OS: PopOS 22.04 6.12.10-76061203-generic

Clinfo -l output

Platform #0: Intel(R) OpenCL HD Graphics
 -- Device #0: Intel(R) UHD Graphics 620 [0x5917]
Platform #1: AMD Accelerated Parallel Processing

As you can see, only the platform, not a second device. Is there anything that I am missing?

I did post this on reddit in the PopOS subreddit. https://www.reddit.com/r/pop_os/comments/1kvza44/is_there_a_way_to_use_amdgpudkms_without_bricking/