[PATCH 2/2] drm/amdgpu: raise error on incorrect mem_type