Re: [PATCH 0/4] drm/exynos/dsi: remove global display variable
From: Andrzej Hajda
Date: Thu Nov 13 2014 - 09:14:31 EST
On 11/13/2014 09:50 AM, Inki Dae wrote:
> On 2014ë 10ì 07ì 21:01, Andrzej Hajda wrote:
>> Hi Inki,
>>
>> Many Exynos DRM drivers uses global variables to represent associated devices
>> in Exynos DRM internal framework. It is quite confusing, it adds data duplication
>> and finally it does not allow to handle more than one device in system.
>> It seems better to embed such structures in private context of the device.
>>
>> The patchset is based on exynos_drm_next plus my patch [1]:
>> 'drm/exynos: remove explicit encoder/connector de-initialization'.
>>
>> If the patchset is OK for you I can prepare similar patches for other Exynos DRM components.
> Sorry for late. Applied. Can you prepare similar patches for other? If
> so, I'd happy.
Beginning of the next week is OK?
Regards
Andrzej
>
> Thanks,
> Inki Dae
>
>> [1]: https://lkml.org/lkml/2014/9/22/148
>>
>> Regards
>> Andrzej
>>
>>
>> Andrzej Hajda (4):
>> drm/exynos/dsi: remove global variable exynos_dsi_display
>> drm/exynos/dsi: simplify device pointer evaluation
>> drm/exynos/dsi: remove redundant encoder field
>> drm/exynos/dsi: stop using display->ctx pointer
>>
>> drivers/gpu/drm/exynos/exynos_drm_dsi.c | 96 ++++++++++++++++-----------------
>> 1 file changed, 47 insertions(+), 49 deletions(-)
>>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/