Re: [bug] i915 flickering display after some of the 5.5rc3 patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Blaž,

On Fri, 27 Dec 2019, Blaž Hrastnik wrote:

> Hi! I'm using a Surface Laptop 3 (Intel version, i7-1065G7) which is 
> running the i915 driver. I have a screen flicker issue in 5.5rc that I 
[...]
> It works on commit "x86/intel: Disable HPET on Intel Ice Lake 
> platforms". But it doesn't work on "drm/i915: extend audio CDCLK>=2*BCLK 
> constraint to more platforms"
[...]
> - https://patchwork.freedesktop.org/patch/334111/

thanks for the report. The flicker seems to be a side-effect of #334111,
"drm/i915: extend audio CDCLK>=2*BCLK constraint to more 
platforms"

One of the platforms the constraint was extended to, was your i7-1065G7, 
so there's a clear link.

Fixing this is a bit more complicated. To give some context, my patches 
relate to HDMI/DP audio support, and specifically to fix issues in audio 
driver probe. When audio driver is probed (or audio device opened, as 
happens when you start a desktop session), audio driver will ask for 
display audio codec to be powered up. With my patch, this may lead to 
bumping up the CDCLK clock, to ensure error-free communication with audio. 
Same sequence happens in reverse when audio communication stops and audio 
driver releases resources from i915. Unfortunately the changes 
to CDCLK clock can lead to modeset changes and visible flicker.

We've discussed the options with Ville (cc'ed) a bit, but no clear
consensus yet. I've filed a ticket for this for easier tracking:
https://gitlab.freedesktop.org/drm/intel/issues/913

Reverting #334111 will remove the flicker, but you may hit issue in audio 
driver probe (original bug here:
https://github.com/thesofproject/linux/issues/1184 ).

Br, Kai
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux