On Wed, Sep 14, 2022 at 08:26:55PM +0200, Stefan Wahren wrote:I meant the driver as a whole. According to the vc4 binding there are three compatibles bcm2835-vc4, cygnus-vc4 and bcm2711-vc5. Unfortunately i don't have access to any of these Cygnus boards, so i cannot do any regression tests or provide more information to your question.
Am 14.09.22 um 20:14 schrieb Stephen Boyd:I'm open for suggestions there, but is there any other bcm2711 device
Quoting Stefan Wahren (2022-09-14 11:09:04)This firmware is written specific for the Raspberry Pi and not stable from
Am 14.09.22 um 20:05 schrieb Stephen Boyd:Why?
Quoting Stefan Wahren (2022-09-14 10:45:48)yes
Am 14.09.22 um 17:50 schrieb Stephen Boyd:Instead of 'all' did you mean 'any'?
Furthermore, I wonder if even that part needs to be implemented. Whyit would be nice to keep all the Rpi specific stuff out of the DRM
not make a direct call to rpi_firmware_property() and get the max rate?
All of that can live in the drm driver. Making it a generic API that
takes a 'struct clk' means that it looks like any clk can be passed,
when that isn't true. It would be better to restrict it to the one use
case so that the scope of the problem doesn't grow. I understand that it
duplicates a few lines of code, but that looks like a fair tradeoff vs.
exposing an API that can be used for other clks in the future.
driver, since there more users of it.
interface point of view. So i'm afraid that the DRM driver is only usable
for the Raspberry Pi at the end with all these board specific dependencies.
that we support upstream?
If not, I'm not sure what the big deal is at this point. Chances are theMy concern is that we reach some point that we need to say this kernel version requires this firmware version. In the Raspberry Pi OS world this is not a problem, but not all distributions has this specific knowledge.
DRM driver won't work as is on a different board.
Plus, such a board wouldn't be using config.txt at all, so this whole
dance to find what was enabled or not wouldn't be used at all.
This wasn't a offense against your great work. Just a slight warning that some functions of clock or power management moved back into firmware. We should watch out, but maybe i emote here.
Emma invested a lot of time to make this open source and now it looks thatWhat functionality has been moved back to firmware?
like that more and more functionality moves back to firmware.
Maxime