[PATCH v3] drm/tegra: Do not use ->load() and ->unload() callbacks
Dmitry Osipenko
digetx at gmail.com
Tue Oct 29 13:25:36 UTC 2019
28.10.2019 15:16, Thierry Reding пишет:
> 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
> v3: rebase onto drm/tegra/for-next
>
> Signed-off-by: Thierry Reding <treding at nvidia.com>
> ---
> drivers/gpu/drm/tegra/drm.c | 321 +++++++++++++++++-------------------
> 1 file changed, 154 insertions(+), 167 deletions(-)
Hello Thierry,
I tried a bit harder and managed to get simple-framebuffer working, the
bootloader's FB handover works fine for me before and after this patch.
Thanks!
Tested-by: Dmitry Osipenko <digetx at gmail.com>
More information about the dri-devel
mailing list