[PATCH v2 5/5] drm/bridge/synopsys: dsi :remove is_panel_bridge
Benjamin Gaignard
benjamin.gaignard at linaro.org
Tue Oct 3 12:55:07 UTC 2017
2017-10-03 11:24 GMT+02:00 Emil Velikov <emil.l.velikov at gmail.com>:
> On 2 October 2017 at 10:34, Benjamin Gaignard
> <benjamin.gaignard at linaro.org> wrote:
>> When using drm_of_panel_bridge_remove() we can simplify the
>> code and remove is_panel_bridge from dw_mipi_dsi structure.
>>
> As the previous patches remove the struct drm_bridge pointer, it might
> be worth mentioning why that cannot be done here?
>
> If you agree, please don't resent the patches - just amend before pushing.
Will add that:
Because drm_bridge pointer is used in attach and post_disable functions it can't
be removed from internal driver structure .
>
> Thanks
> Emil
More information about the dri-devel
mailing list