Files
linux/drivers/gpu/drm
Li Zetao c6430a8eb0 drm/nouveau/volt: use clamp() in nvkm_volt_map()
When it needs to get a value within a certain interval, using clamp()
makes the code easier to understand than min(max()).

Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Li Zetao <lizetao1@huawei.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240831012803.3950100-4-lizetao1@huawei.com
2024-09-04 15:21:43 -04:00
..
2024-07-05 10:47:28 +02:00
2024-08-22 09:13:21 +02:00
2024-08-28 12:21:49 -03:00
2024-05-02 11:33:17 +02:00
2024-08-09 08:13:48 +02:00
2024-08-27 14:09:45 +02:00
2024-05-02 11:33:18 +02:00
2024-08-27 14:09:45 +02:00
2024-06-18 10:06:35 +02:00
2024-08-27 14:09:45 +02:00
2024-08-15 11:01:48 -03:00
2024-04-25 20:55:49 -07:00
2024-06-17 10:38:18 +03:00
2024-06-24 17:08:53 +03:00
2024-08-23 16:55:35 +02:00
2024-08-23 16:55:35 +02:00