drm/amdgpu/cgs: add an interface to access PCI resources