[PATCH openEuler-5.10-LTS-SP1 157/263] drm/amd/display: Limit user regamma to a valid value