Message ID | 20220209090314.2511959-1-javierm@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | drm: Add driver for Solomon SSD130X OLED displays | expand |
Hi Javier, On Wed, Feb 9, 2022 at 10:03 AM Javier Martinez Canillas <javierm@redhat.com> wrote: > This patch series adds a DRM driver for the Solomon OLED SSD1305, SSD1306, > SSD1307 and SSD1309 displays. It is a port of the ssd1307fb fbdev driver. [...] > - Fix a bug when doing partial updates (Geert Uytterhoeven) Thanks, the text console is now more or less working as expected. There is still an issue with the cursor, though. After doing "echo hello > /dev/tty0", the text appears, but the cursor is gone. "clear > /dev/tty0" brings it back. The execution time of "time ls" has improved. It now takes 1.21s (0.86s with ssd1306fb). The logo is not shown, even when I create a 16-color or 224-color version of the small monochrome logo I'm using. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Hello Geert, On 2/9/22 13:19, Geert Uytterhoeven wrote: > Hi Javier, > > On Wed, Feb 9, 2022 at 10:03 AM Javier Martinez Canillas > <javierm@redhat.com> wrote: >> This patch series adds a DRM driver for the Solomon OLED SSD1305, SSD1306, >> SSD1307 and SSD1309 displays. It is a port of the ssd1307fb fbdev driver. > > [...] > >> - Fix a bug when doing partial updates (Geert Uytterhoeven) > > Thanks, the text console is now more or less working as expected. Thanks for giving it a try to this version too! Glad to know that is working better now. > There is still an issue with the cursor, though. > After doing "echo hello > /dev/tty0", the text appears, but the cursor > is gone. "clear > /dev/tty0" brings it back. > Hmm, I was able to reproduce this too. Thanks for pointing it out, I'll investigate what the problem is. > The execution time of "time ls" has improved. It now takes 1.21s > (0.86s with ssd1306fb). > Yes, I believe that was due the bug I mentioned that partial updates weren't done but a full screen update instead. > The logo is not shown, even when I create a 16-color or 224-color > version of the small monochrome logo I'm using. > I'll also dig into this. Best regards,
On Wed, Feb 9, 2022 at 1:19 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > On Wed, Feb 9, 2022 at 10:03 AM Javier Martinez Canillas > <javierm@redhat.com> wrote: > > This patch series adds a DRM driver for the Solomon OLED SSD1305, SSD1306, > > SSD1307 and SSD1309 displays. It is a port of the ssd1307fb fbdev driver. > > [...] > The logo is not shown, even when I create a 16-color or 224-color > version of the small monochrome logo I'm using. My mistake, I messed up the hook-up, causing it to pick a different logo that was too large to be displayed. Of course it's using the 224-color logo reduced to monochrome instead of the real monochrome logo, as fbcon thinks it's running on XRGB8888. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Hello Geert, On 2/10/22 18:06, Geert Uytterhoeven wrote: > On Wed, Feb 9, 2022 at 1:19 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: >> On Wed, Feb 9, 2022 at 10:03 AM Javier Martinez Canillas >> <javierm@redhat.com> wrote: >>> This patch series adds a DRM driver for the Solomon OLED SSD1305, SSD1306, >>> SSD1307 and SSD1309 displays. It is a port of the ssd1307fb fbdev driver. >> >> [...] > >> The logo is not shown, even when I create a 16-color or 224-color >> version of the small monochrome logo I'm using. > > My mistake, I messed up the hook-up, causing it to pick a different > logo that was too large to be displayed. > Great, thanks for all the testing. > Of course it's using the 224-color logo reduced to monochrome instead > of the real monochrome logo, as fbcon thinks it's running on XRGB8888. > Right. Once the patch lands, I'll look at wiring up the needed support in DRM for the drivers to be able to advertise 8-bit grayscale and monochrome to avoid the unnecessary conversions and to have feature parity with fbdev. But I just wanted to do it incrementally and first port to DRM as first step. Best regards,
On 2/9/22 13:37, Javier Martinez Canillas wrote: [snip] > >> There is still an issue with the cursor, though. >> After doing "echo hello > /dev/tty0", the text appears, but the cursor >> is gone. "clear > /dev/tty0" brings it back. >> > > Hmm, I was able to reproduce this too. Thanks for pointing it out, > I'll investigate what the problem is. > I still didn't have time to dig on this for v4. But I think that the driver works well enough to be merged and we can then fix the issues that are still present in the fbdev emulation and fbcon interaction as a follow-up. Best regards,