-
Notifications
You must be signed in to change notification settings - Fork 5.2k
vc4_dpi fixes #4889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vc4_dpi fixes #4889
Conversation
The mapping is incorrect for RGB565_1X16 as it should be DPI_FORMAT_18BIT_666_RGB_1 instead of DPI_FORMAT_18BIT_666_RGB_3. Signed-off-by: Dave Stevenson <[email protected]>
Adds mappings for bgr666, bgr666-padhi, and bgr888. Signed-off-by: Dave Stevenson <[email protected]>
I wonder if it makes sense to add overrides to free up GPIO0/1 for general usage since they are not needed for many displays? With the current structure that would need a lot of duplication though. |
That can be a later change. |
I think you are right - the VGA adapters which I obviously had in mind are the exception, not the rule. |
No, it's correct. |
Actually it's neither - the overlay is correct. The
|
omg! Sorry two things:
So, all fine! Sorry fo inconveniences ! this is working fine for a 1366x768pixels display (where I needed the other color mapping) The only 'issue' that I still see is that screen configuration editor doesn't know if this rotation and shows 'DPI-1' correct (and not upside down as when rotating it via arandr). |
kernel: overlays: rpi-poe(-plus): Fix parameters See: raspberrypi/linux#4877 kernel: i2c: bcm2835: Make clock-stretch timeout configurable See: raspberrypi/linux#4855 kernel: Add DPI mode 3 (rgb565-padhi) support to vc4-kms-dpi-generic See: raspberrypi/linux#4882 kernel: media: i2c: imx219: Scale the pixel clock rate for the 640x480 mode See: raspberrypi/linux#4880 kernel: vc4_dpi fixes See: raspberrypi/linux#4889 kernel: Change vc4 DSI to being a bridge See: raspberrypi/linux#4878 kernel: sc16is7xx: Fix for incorrect data being transmitted See: raspberrypi/linux#4885
kernel: overlays: rpi-poe(-plus): Fix parameters See: raspberrypi/linux#4877 kernel: i2c: bcm2835: Make clock-stretch timeout configurable See: raspberrypi/linux#4855 kernel: Add DPI mode 3 (rgb565-padhi) support to vc4-kms-dpi-generic See: raspberrypi/linux#4882 kernel: media: i2c: imx219: Scale the pixel clock rate for the 640x480 mode See: raspberrypi/linux#4880 kernel: vc4_dpi fixes See: raspberrypi/linux#4889 kernel: Change vc4 DSI to being a bridge See: raspberrypi/linux#4878 kernel: sc16is7xx: Fix for incorrect data being transmitted See: raspberrypi/linux#4885
Fixes RGB565 mapping, and adds BGR mappings to the overlay.