Thanks to this thread I’ve managed to enable OpenCL rendering on my Radeon VII.
Here is the list of installed packages. I just dpkg -install them in exact order.
amdgpu-core_19.50-967956_amd64.deb
∟amdgpu-pro-core_19.50-967956_amd64.deb
∟libdrm2-amdgpu_19.50-967956_amd64.deb
∟libdrm-amdgpu-common_19.50-967956_amd64.deb
∟libdrm-amdgpu-amdgpu1_19.50-967956_amd64.deb
∟libopencl1-amdgpu-pro_19.50-967956_amd64.deb
opencl-amdgpu-procomgr_19.50-967956_amd64.deb
∟opencl-amdgpu-pro-icd_19.50-967956_amd64.deb
opencl-orca-amdgpu-pro-icd_19.50-967956_amd64.deb
clinfo-amdgpu-pro_19.50-967956_amd64.deb
opencl-amdgpu-pro-dev_19.50-967956_amd64.deb
opencl-amdgpu-pro-icd_19.50-967956_amd64.deb
Here is part of dependency graph:
DKMS and amdgpu-dkms install fails on kernel 5.4.0-0.