drm_mode_config_init() on the DRM device. The function drmm_mode_config_init() on the DRM device. The function initializes the :c:type:`struct drm_device <drm_device>` mode_config field and never fails. Once done, mode configuration must be setup by initializing the following fields. ...
int ast_mode_config_init(struct ast_private *ast); #define AST_MM_ALIGN_SHIFT 4 #define AST_MM_ALIGN_MASK ((1 << AST_MM_ALIGN_SHIFT) - 1)35 changes: 1 addition & 34 deletions 35 drivers/gpu/drm/ast/ast_main.c Original file line numberDiff line numberDiff line change @@ -31...