[PATCH 5.10 069/138] drm/amdgpu: validate the parameters of bo mapping operations more clearly