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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



24.10.2019 21:15, Michał Mirosław пишет:
> On Thu, Oct 24, 2019 at 07:31:37PM +0200, Thierry Reding wrote:
>> From: Thierry Reding <treding@xxxxxxxxxx>
>>
>> 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@xxxxxxxxxx>
>> ---
>> 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?

I don't think it will apply cleanly on top of 5.3, but should work with
linux-next or by cherry-picking 9d5a54987265.

Regarding the testing, I never used simple-fb on Tegra before and it's
not working for me now. Hopefully it will work for you, Michał.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux