Re: [PATCH v2 13/15] drm/mgag200: Use simple-display data structures

2020-05-12 Thread Thomas Zimmermann
Hi Am 12.05.20 um 12:16 schrieb Emil Velikov: > Hi Thomas, > > On Tue, 12 May 2020 at 09:43, Thomas Zimmermann wrote: > >> static void mga_crtc_init(struct mga_device *mdev) >> { >> struct drm_device *dev = mdev->dev; >> - struct mga_crtc *mga_crtc; >> - >> - mga_crtc = kz

Re: [PATCH v2 13/15] drm/mgag200: Use simple-display data structures

2020-05-12 Thread Emil Velikov
Hi Thomas, On Tue, 12 May 2020 at 09:43, Thomas Zimmermann wrote: > static void mga_crtc_init(struct mga_device *mdev) > { > struct drm_device *dev = mdev->dev; > - struct mga_crtc *mga_crtc; > - > - mga_crtc = kzalloc(sizeof(struct mga_crtc) + > -