[PATCH v2] drm/tegra: Do not use ->load() and ->unload() callbacks

Michał Mirosław mirq-linux at rere.qmqm.pl
Thu Oct 24 18:15:39 UTC 2019


On Thu, Oct 24, 2019 at 07:31:37PM +0200, Thierry Reding wrote:
> From: Thierry Reding <treding at nvidia.com>
> 
> The ->load() and ->unload() drivers are midlayers and should be avoided
> in modern drivers. Fix this by moving the code into the driver ->probe()
> and ->remove() implementations, respectively.
> 
> v2: kick out conflicting framebuffers before initializing fbdev
> 
> Signed-off-by: Thierry Reding <treding at nvidia.com>
> ---
> Michał, Dmitry,
> 
> do you guys have a way of testing that the removal of the conflicting
> framebuffer actually works?
[...]

I might be able to check during the weekend. Is this patch alone enough
for v5.3?

Best Regards,
Michał Mirosław


More information about the dri-devel mailing list