diff options
author | Yannick Fertre <yannick.fertre@foss.st.com> | 2021-12-03 09:56:18 +0100 |
---|---|---|
committer | Philippe Cornu <philippe.cornu@foss.st.com> | 2022-01-04 14:36:48 +0100 |
commit | 1726cee3d0537baa58dc58cf0a1630aa7ce93af7 (patch) | |
tree | 8dcb0121f3d6de9c6bb77b8446fc753c154d03b5 /drivers/gpu/drm/stm/ltdc.h | |
parent | 77177c934c9a90002dbfead4067ba1f4ae0b5182 (diff) | |
download | linux-1726cee3d0537baa58dc58cf0a1630aa7ce93af7.tar.gz linux-1726cee3d0537baa58dc58cf0a1630aa7ce93af7.tar.bz2 linux-1726cee3d0537baa58dc58cf0a1630aa7ce93af7.zip |
drm/stm: ltdc: support of new hardware version
Add support of new hardware version 0x40100.
Signed-off-by: Yannick Fertre <yannick.fertre@foss.st.com>
Reviewed-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Tested-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Acked-by: Philippe Cornu <philippe.cornu@foss.st.com>
Signed-off-by: Philippe Cornu <philippe.cornu@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211203085618.11314-1-yannick.fertre@foss.st.com
Diffstat (limited to 'drivers/gpu/drm/stm/ltdc.h')
-rw-r--r-- | drivers/gpu/drm/stm/ltdc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/stm/ltdc.h b/drivers/gpu/drm/stm/ltdc.h index f153b908c70e..55a125f89af6 100644 --- a/drivers/gpu/drm/stm/ltdc.h +++ b/drivers/gpu/drm/stm/ltdc.h @@ -14,7 +14,8 @@ struct ltdc_caps { u32 hw_version; /* hardware version */ u32 nb_layers; /* number of supported layers */ - u32 reg_ofs; /* register offset for applicable regs */ + u32 layer_ofs; /* layer offset for applicable regs */ + const u32 *layer_regs; /* layer register offset */ u32 bus_width; /* bus width (32 or 64 bits) */ const u32 *pix_fmt_hw; /* supported pixel formats */ bool non_alpha_only_l1; /* non-native no-alpha formats on layer 1 */ |