Re: [RFC 3/7] drm/omap: Manage the usable omap_dss_device list within omap_drm_private

2017-09-04 Thread Laurent Pinchart
Hi Peter, On Monday, 4 September 2017 12:19:19 EEST Peter Ujfalusi wrote: > On 2017-09-01 14:27, Laurent Pinchart wrote: > >> -static void omap_disconnect_dssdevs(void) > >> +static void omap_disconnect_dssdevs(struct drm_device *ddev) > >> { > >> - struct omap_dss_device *dssdev = NULL; > >> +

Re: [RFC 3/7] drm/omap: Manage the usable omap_dss_device list within omap_drm_private

2017-09-04 Thread Peter Ujfalusi
Hi Laurent, Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 2017-09-01 14:27, Laurent Pinchart wrote: >> -static void omap_disconnect_dssdevs(void) >> +static void omap_disconnect_dssdevs(struct drm_device *ddev)

Re: [RFC 3/7] drm/omap: Manage the usable omap_dss_device list within omap_drm_private

2017-09-01 Thread Laurent Pinchart
Hi Peter, Thank you for the patch. On Tuesday, 29 August 2017 10:32:14 EEST Peter Ujfalusi wrote: > Instead of reaching back to DSS to iterate through the dss_devices every > time, use an internal array where we store the available and usable > dss_devices. > > Signed-off-by: Peter Ujfalusi > -

[RFC 3/7] drm/omap: Manage the usable omap_dss_device list within omap_drm_private

2017-08-29 Thread Peter Ujfalusi
Instead of reaching back to DSS to iterate through the dss_devices every time, use an internal array where we store the available and usable dss_devices. Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/omapdrm/omap_drv.c | 95 +++--- drivers/gpu/drm/omapdrm/oma