diff options
| author | Jocelyn Falempe <[email protected]> | 2022-05-13 10:49:00 +0200 |
|---|---|---|
| committer | Jocelyn Falempe <[email protected]> | 2022-05-16 15:05:21 +0200 |
| commit | c577b2f43e80d707870a74de0fd726c51b206956 (patch) | |
| tree | 7ddf0e750bc2a917e9347fbe1effd345fe7e0858 /tools/perf/scripts/python | |
| parent | 0facdaa249c4e97346bc0b49c893e4a1d336b7dd (diff) | |
drm/mgag200: Enable atomic gamma lut update
Add support for atomic update of gamma lut.
With this patch the "Night light" feature of gnome3
is working properly on mgag200.
v2:
- Add a default linear gamma function
- renamed functions with mgag200 prefix
- use format's 4cc code instead of bit depth
- use better interpolation for 16bits gamma
- remove legacy function mga_crtc_load_lut()
- can't remove the call to drm_mode_crtc_set_gamma_size()
because it doesn't work with userspace.
- other small refactors
v3:
- change mgag200_crtc_set_gamma*() argument
to struct drm_format_info *format
- fix printk format to %p4cc for 4cc and %zu for size_t
- rebased to drm-misc-next.
Signed-off-by: Jocelyn Falempe <[email protected]>
Tested-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions