Bug 108356 - AMD DC: Mullins APU: Possible race condition between vblank interrupt and atomic pageflip
Summary: AMD DC: Mullins APU: Possible race condition between vblank interrupt and ato...
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-14 16:39 UTC by Mauro Rossi
Modified: 2019-11-19 08:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screen without issue (46.76 KB, image/jpeg)
2018-10-14 16:39 UTC, Mauro Rossi
no flags Details
Screen slightly affected (50.55 KB, image/jpeg)
2018-10-14 16:40 UTC, Mauro Rossi
no flags Details
Screen affected up to one third of screen (44.14 KB, image/jpeg)
2018-10-14 16:41 UTC, Mauro Rossi
no flags Details

Description Mauro Rossi 2018-10-14 16:39:45 UTC
Created attachment 142019 [details]
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

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
Comment 1 Mauro Rossi 2018-10-14 16:40:30 UTC
Created attachment 142020 [details]
Screen slightly affected
Comment 2 Mauro Rossi 2018-10-14 16:41:26 UTC
Created attachment 142021 [details]
Screen affected up to one third of screen
Comment 3 Michel Dänzer 2018-10-15 10:14:25 UTC
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.
Comment 4 Martin Peres 2019-11-19 08:58:53 UTC
-- 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.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.