diff options
author | Thomas Zimmermann <[email protected]> | 2022-07-28 14:40:54 +0200 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2022-07-29 16:01:46 +0200 |
commit | ed2ef21f1089ef9b3b943b4e365600e615ce827d (patch) | |
tree | ee257f9b63775663066ca18289da47f148e6ff64 /lib/mpi/mpi-internal.h | |
parent | 2d70b9a1482e09f8465452c4655ffe20c605d526 (diff) |
drm/mgag200: Store primary plane's color format in CRTC state
Store the primary plane's color format in the CRTC state and use
it for programming the CRTC's gamma LUTs.
Gamma tables (i.e., color management) are provided by the CRTC, but
depend in the primary plane's color format. Store the format in the
CRTC state and use it. This has not been an issue with simple-KMS
helpers, which mix-up plane and CRTC state to some extent. For using
regular atomic helpers, it's necessary to distinguish between the two.
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Jocelyn Falempe <[email protected]>
Tested-by: Jocelyn Falempe <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions