[BUG] drm_rockchip: rk3066_hdmi: No driver support for vblank timestamp query.

Johan Jonker jbx9999 at hotmail.com
Wed Nov 28 20:17:00 UTC 2018


My local bugs. (PART 5)

MK808 is connected to DVI-D monitor.
Serial console at /dev/ttyUSB0.
Boots with 2 pinguins and bootlog scroll. Then display turns off black.

Example 1 when vblank wait timed out happens after boot in a program
called DRM-dumb-buffer. It also happens during boot. I can't get a
pattern in it. When I add a revert patch vblank doesn't seem to crash,
but a alert is observed.

For example:
[    5.104171] rockchip-vop 1010c000.vop: [drm:vop_crtc_atomic_flush]
*ERROR* VOP vblank IRQ stuck for 10 ms

/////////////////////////////////////////
There are 3 types of errors in the DRM-dumb-buffer log:

-1 vblank wait timed out.

-2 rk3066_hdmi_get_power_mode returns 0.
In the old source this would lead to a loop hangup/stall, because 0
multiplied is still 0. It never gets into a higher power level.

-3 flip_done timed out

[  451.674799] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR*
[CRTC:30:crtc-0] flip_done timed out
[  461.913900] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR*
[CONNECTOR:33:HDMI-A-1] flip_done timed out
[  472.154303] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR*
[PLANE:28:plane-0] flip_done timed out

/////////////////////////////////////////

It would be nice if after boot I could use my display and keyboard
instead of my serial console.
Please advise if more info is needed!

Kind regards,

Johan Jonker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DRM-dumb-buffer.c
Type: text/x-csrc
Size: 4890 bytes
Desc: DRM-dumb-buffer.c
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181128/26ef959b/attachment-0001.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: putty-2018-11-28-18-51-39-with-tty0-no-revert-TEST9.log
Type: text/x-log
Size: 65893 bytes
Desc: putty-2018-11-28-18-51-39-with-tty0-no-revert-TEST9.log
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181128/26ef959b/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: putty-2018-11-28-18-56-19-with-tty0-no-revert-DRM-dumb-buffer-TEST9.log
Type: text/x-log
Size: 13796 bytes
Desc: putty-2018-11-28-18-56-19-with-tty0-no-revert-DRM-dumb-buffer-TEST9.log
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181128/26ef959b/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-revert-rockchip_atomic_wait_for_complete.patch
Type: text/x-patch
Size: 8974 bytes
Desc: 0001-revert-rockchip_atomic_wait_for_complete.patch
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181128/26ef959b/attachment-0005.bin>


More information about the dri-devel mailing list