tests/amdgpu: add interface to adapt firmware requirement