[PATCH 6.1 127/141] drm/amdgpu: validate the parameters of bo mapping operations more clearly