Skip to content
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

Disable QPU mailbox commands when vc4 is loaded #669

Closed
anholt opened this issue Oct 4, 2016 · 5 comments
Closed

Disable QPU mailbox commands when vc4 is loaded #669

anholt opened this issue Oct 4, 2016 · 5 comments

Comments

@anholt
Copy link

anholt commented Oct 4, 2016

I'm starting work on making it so that you can run hello_fft under vc4. My current thought is to intercept the mailbox commands in the firmware driver and hand them off to vc4 instead.

However, for safety, similarly to the disabling of tvservice's commands, it would be nice if the firmware could disable qpu_enable and qpu_execute mailbox commands when we've found the v3d (without status="disabled") in the devicetree. Right now if you run hello_fft, it locks up the GPU such a way that it never recovers.

@popcornmix
Copy link
Contributor

Yes, that should be possible.

popcornmix added a commit that referenced this issue Oct 11, 2016
firmware: resize: Fix for no padding giving incorrect pitch
See: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=162349

firmware: arm_dt: Populate the /serial-number property
See: raspberrypi/linux#1670

firmware: deinterlace: Provide a mode where frame flags are exclusively used

firmware: arm_loader: do not allow qpu usage when arm owns the 3d
See: #669

firmware: vcinclude: Fix macro for IS_ALIAS_L1L2_NONALLOCATING
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this issue Oct 11, 2016
firmware: resize: Fix for no padding giving incorrect pitch
See: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=162349

firmware: arm_dt: Populate the /serial-number property
See: raspberrypi/linux#1670

firmware: deinterlace: Provide a mode where frame flags are exclusively used

firmware: arm_loader: do not allow qpu usage when arm owns the 3d
See: raspberrypi/firmware#669

firmware: vcinclude: Fix macro for IS_ALIAS_L1L2_NONALLOCATING
@popcornmix
Copy link
Contributor

This is in latest rpi-update firmware.

leeminghao pushed a commit to yudatun/vendor_raspberrypi_firmware that referenced this issue Oct 18, 2016
firmware: resize: Fix for no padding giving incorrect pitch
See: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=162349

firmware: arm_dt: Populate the /serial-number property
See: raspberrypi/linux#1670

firmware: deinterlace: Provide a mode where frame flags are exclusively used

firmware: arm_loader: do not allow qpu usage when arm owns the 3d
See: raspberrypi#669

firmware: vcinclude: Fix macro for IS_ALIAS_L1L2_NONALLOCATING
@Ruffio
Copy link

Ruffio commented Dec 30, 2016

@anholt have you tested with the 'lastest' firmware? Can this issue be closed?

@Ruffio
Copy link

Ruffio commented Jan 14, 2017

@anholt any update on this? Have you tested with a firmware newer than 18 Pct 2016 where it was fixed?

@popcornmix
Copy link
Contributor

I'll close as request has been implemented.
Can always be re-opened if there are still issues.

neuschaefer pushed a commit to neuschaefer/raspi-binary-firmware that referenced this issue Feb 27, 2017
firmware: resize: Fix for no padding giving incorrect pitch
See: https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=162349

firmware: arm_dt: Populate the /serial-number property
See: raspberrypi/linux#1670

firmware: deinterlace: Provide a mode where frame flags are exclusively used

firmware: arm_loader: do not allow qpu usage when arm owns the 3d
See: raspberrypi#669

firmware: vcinclude: Fix macro for IS_ALIAS_L1L2_NONALLOCATING
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

No branches or pull requests

3 participants