Re: [PATCH 3/4] drm/modes: Add initializer macro DRM_MODE_INIT()

2022-08-10 Thread Sam Ravnborg
On Wed, Aug 10, 2022 at 01:20:52PM +0200, Thomas Zimmermann wrote: > The macro DRM_MODE_INIT() initializes an instance of > struct drm_display_mode with typical parameters. Convert simpledrm > and also update the macro DRM_SIMPLE_MODE(). > > Signed-off-by: Thomas Zimmermann Reviewed-by: Sam

[PATCH 3/4] drm/modes: Add initializer macro DRM_MODE_INIT()

2022-08-10 Thread Thomas Zimmermann
The macro DRM_MODE_INIT() initializes an instance of struct drm_display_mode with typical parameters. Convert simpledrm and also update the macro DRM_SIMPLE_MODE(). Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/tiny/simpledrm.c | 23 - include/drm/drm_modes.h