Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/ast: Add enum ast_config_mode

The config mode used to be a field in struct ast_device. Turn it into
a named type. We'll need this for device detection.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231116100240.22975-9-tzimmermann@suse.de

+8 -5
+8 -5
drivers/gpu/drm/ast/ast_drv.h
··· 98 98 #define AST_TX_DP501_BIT BIT(AST_TX_DP501) 99 99 #define AST_TX_ASTDP_BIT BIT(AST_TX_ASTDP) 100 100 101 + enum ast_config_mode { 102 + ast_use_p2a, 103 + ast_use_dt, 104 + ast_use_defaults 105 + }; 106 + 101 107 #define AST_DRAM_512Mx16 0 102 108 #define AST_DRAM_1Gx16 1 103 109 #define AST_DRAM_512Mx32 2 ··· 202 196 void __iomem *ioregs; 203 197 void __iomem *dp501_fw_buf; 204 198 199 + enum ast_config_mode config_mode; 205 200 enum ast_chip chip; 201 + 206 202 uint32_t dram_bus_width; 207 203 uint32_t dram_type; 208 204 uint32_t mclk; ··· 243 235 } output; 244 236 245 237 bool support_wide_screen; 246 - enum { 247 - ast_use_p2a, 248 - ast_use_dt, 249 - ast_use_defaults 250 - } config_mode; 251 238 252 239 unsigned long tx_chip_types; /* bitfield of enum ast_chip_type */ 253 240 u8 *dp501_fw_addr;