Skip to contentSkip to conversation

AMD DC: Mullins APU: Possible race condition between vblank interrupt and atomic pageflip

Bug 108356 [email protected] 1 participant 5 messages Oct 14, 2018 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=108356

Bug ID: 108356
Summary: AMD DC: Mullins APU: Possible race condition between
vblank interrupt and atomic pageflip
Product: DRI
Version: DRI git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Created attachment 142019
--> https://bugs.freedesktop.org/attachment.cgi?id=142019&action=edit
Screen without issue

Hi,

while doing tests with AMD DC on Mullins APU (Acer ES1-521) a visual problem has been observed on HDMI output to LCD monitor

Quoted 1 line

From visual point of view there is a trapezoidal shape at the top of screen

appearing from time to time, but it lasts a fraction of second.

Stack: drm_hwcomposer + gbm_gralloc with AMD DC

Kernel: all kernels from 4.16 to 4.19rc7 are impacted

I would like to understand what irq/signals are involved in the screen scanout and how to trace/profile the problem in Android.
NOTE: even disabling the HWC, by forcing GPU compositing the problem is still happening.

The problem does not happen at all with Bonaire (HD7790) and Polaris (RX560) Visual representation of the rapid glitches in the attach

Thanks for any help

Mauro
android-x86 team

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=108356

--- Comment #1 from Mauro Rossi <[email protected]> --- Created attachment 142020
--> https://bugs.freedesktop.org/attachment.cgi?id=142020&action=edit
Screen slightly affected

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108356

--- Comment #2 from Mauro Rossi <[email protected]> --- Created attachment 142021
--> https://bugs.freedesktop.org/attachment.cgi?id=142021&action=edit
Screen affected up to one third of screen

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108356

--- Comment #3 from Michel Dänzer <[email protected]> ---
FWIW, if drm_hwcomposer uses the vertical blank interrupt for flip completion, that's a drm_hwcomposer bug. Page flips generate their own events signalling completion.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108356

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #4 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/558.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel