Cc: mesa-stable Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <!6259> (cherry picked from commit b8445520)