On Sat, 12 Oct 2019 09:15:26 +0200 Sam Ravnborg sam@ravnborg.org wrote:
Hi Boris/Andrzej.
Note that -ENOSYS is actually a valid case, it just means the panel driver does not implement the hook.
It would be good then to fix it in panel framework, ie without hook drm_panel_* function should return 0, ENOSYS makes no sense here.
I'm fine with that. Thierry, Sam, any opinion?
Agreed, I have following patch in my panel patch queue:
drm/drm_panel: no error when no callback
The callbacks in drm_panel_funcs are optional, so do not return an error just because no callback is assigned. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
If I get time this weekend I will rebase/test and send the set of patches out.
Any progress on that? Can I rebase/send it for you if you don't have time?