drm/amd/display: Limit user regamma to a valid value
authorjsg <jsg@openbsd.org>
Mon, 3 Oct 2022 11:52:57 +0000 (11:52 +0000)
committerjsg <jsg@openbsd.org>
Mon, 3 Oct 2022 11:52:57 +0000 (11:52 +0000)
commitd1d36175f7fd6cb7e1094bd82ac9b6599dcb8bdb
tree53bef4a92a4d6d4b157500adbfc11972d3a3c66b
parent25ac824d31b01c962e462cdb6207852de4c378ee
drm/amd/display: Limit user regamma to a valid value

From Yao Wang1
a541c011181823494c53b15020fae5c3b45f5ec2 in linux 5.15.y/5.15.71
3601d620f22e37740cf73f8278eabf9f2aa19eb7 in mainline linux
sys/dev/pci/drm/amd/display/modules/color/color_gamma.c