diff options
author | Yannick Fertre <yannick.fertre@foss.st.com> | 2021-12-15 22:48:17 +0100 |
---|---|---|
committer | Philippe Cornu <philippe.cornu@foss.st.com> | 2022-01-13 14:06:21 +0100 |
commit | a55d08e0d4945b0374c6dd0e8b3f9b28ce5720ed (patch) | |
tree | 3a95236f5180e1c8f078b017ecb835ff4b5da098 /drivers/gpu/drm/stm/ltdc.h | |
parent | fb998edf9edc21c9925560860cc36136814a707a (diff) | |
download | linux-a55d08e0d4945b0374c6dd0e8b3f9b28ce5720ed.tar.gz linux-a55d08e0d4945b0374c6dd0e8b3f9b28ce5720ed.tar.bz2 linux-a55d08e0d4945b0374c6dd0e8b3f9b28ce5720ed.zip |
drm/stm: ltdc: add per plane update support
Recent ltdc hardware versions offer the ability
to update a plane independently of others planes.
This is could be useful especially if a plane is
assigned to another OS.
Signed-off-by: Yannick Fertre <yannick.fertre@foss.st.com>
Acked-by: Philippe Cornu <philippe.cornu@foss.st.com>
Reviewed-by: Philippe Cornu <philippe.cornu@foss.st.com>
Reviewed-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Signed-off-by: Philippe Cornu <philippe.cornu@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211215214817.20310-1-yannick.fertre@foss.st.com
Diffstat (limited to 'drivers/gpu/drm/stm/ltdc.h')
-rw-r--r-- | drivers/gpu/drm/stm/ltdc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/stm/ltdc.h b/drivers/gpu/drm/stm/ltdc.h index f04fcebb5223..68a5a199e320 100644 --- a/drivers/gpu/drm/stm/ltdc.h +++ b/drivers/gpu/drm/stm/ltdc.h @@ -22,6 +22,7 @@ struct ltdc_caps { int pad_max_freq_hz; /* max frequency supported by pad */ int nb_irq; /* number of hardware interrupts */ bool ycbcr_output; /* ycbcr output converter supported */ + bool plane_reg_shadow; /* plane shadow registers ability */ }; #define LTDC_MAX_LAYER 4 |