Skip to content

Conversation

6by9
Copy link
Contributor

@6by9 6by9 commented Jan 11, 2022

Fixes up interrupt handling for HVS5. Bits have moved in DISPSTAT and DISPCTRL, and the driver wasn't taking it into account.
This effectively extends what popcornmix had done with 3474e57.
I was seeing VSTART2 occurring and not being acknowledged when 3 displays were active. This resulted in the interrupt being disabled, which then meant no further dlist updates.

Adds a blend_mode property to allow for non-pre-multiplied alpha (or ignore alpha).

@popcornmix
Copy link
Collaborator

LGTM (apart from two comments).

@popcornmix popcornmix force-pushed the rpi-5.15.y branch 2 times, most recently from 6f90877 to 00de1d0 Compare January 11, 2022 14:16
6by9 added 2 commits January 11, 2022 14:26
The bits in both DISPCTRL and DISPSTAT have moved between
hvs4 and hvs5, and the driver wasn't taking that into account.
This lead to VSTART being enabled on channel 2, which nothing
then acknowledged and lead to the parent interrupt being disabled.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Move from only supporting the default of pre-multiplied
alpha to supporting user specified blend mode using the
standardised property.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
@6by9
Copy link
Contributor Author

6by9 commented Jan 11, 2022

Comments fixed and rebased.

@pelwell pelwell merged commit b7b46f0 into raspberrypi:rpi-5.15.y Jan 11, 2022
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jan 17, 2022
kernel: 5.15 KMS fixes
See: raspberrypi/linux#4821

firmware: Update to latest master
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Jan 17, 2022
kernel: 5.15 KMS fixes
See: raspberrypi/linux#4821

firmware: Update to latest master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants