summaryrefslogtreecommitdiff
path: root/net/ax25/ax25_timer.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2022-10-11 18:07:11 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2022-10-14 10:50:25 +0300
commit4bbb9061081c49ded4908c7716a03f7faf4eb65d (patch)
tree7d79bc49c316f1ead151fed65b956f7c9d1a288e /net/ax25/ax25_timer.c
parentf496834e167451afc5f0c699ada143a7641b4e85 (diff)
downloadlinux-4bbb9061081c49ded4908c7716a03f7faf4eb65d.tar.xz
drm/ofdrm: Support color management
Support the CRTC's color-management property and implement each model's palette support. The OF hardware has different methods of setting the palette. The respective code has been taken from fbdev's offb and refactored into per-model device functions. The device functions integrate this functionality into the overall modesetting. As palette handling is a CRTC property that depends on the primary plane's color format, the plane's atomic_check helper now updates the format field in ofdrm's custom CRTC state. The CRTC's atomic_flush helper updates the palette for the format as needed. v4: * use cpu_to_be32() (Geert) v3: * lookup CRTC state with drm_atomic_get_new_crtc_state() * access HW palette with writeb(), writel(), and readl() (Ben) * declare register values as u32 Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221011150712.3928-5-tzimmermann@suse.de
Diffstat (limited to 'net/ax25/ax25_timer.c')
0 files changed, 0 insertions, 0 deletions