Re: [Intel-gfx] drm] Atomic update on pipe (A) took 119 us, max time under evasion is 100 us

2017-05-04 Thread Jens Axboe
On 05/04/2017 11:42 AM, Ville Syrjälä wrote:
> On Thu, May 04, 2017 at 09:26:09AM -0600, Jens Axboe wrote:
>> Hi,
>>
>> Running current -git on my laptop (20FB, X1 Carbon gen4, skylake), I get
>> a lot of the below warnings. Things seem to work fine (in fact it seems
>> faster in general use than previously), but it's a lot of warning spew.
>>
>> [  764.877978] [drm] Atomic update on pipe (A) took 156 us, max time under 
>> evasion is 100 us
> 
> I tried to optimize this a bit recently but indeed it's stil known to be too
> slow. Looks like all of that stuff did land in Linus's tree already,
> so presumably you have it all already.

Yes, this is Linus' tree...

> I did have some further ideas that should help but I got sidetracked by
> other things before I managed to finish the work. I guess I'll need to get
> back on that horse and try to finish what I started.
> 
> In the meantime, maybe we should just silence this error spew again
> until we're more confident about meeting the deadlines. Maarten?
> 
> Do you have lockdep enabled BTW? Based on what I've seen lockdep does
> seem be a major contributor to slowness here.

Nope, running a fairly optimized build on my laptop.

-- 
Jens Axboe

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] drm] Atomic update on pipe (A) took 119 us, max time under evasion is 100 us

2017-05-04 Thread Ville Syrjälä
On Thu, May 04, 2017 at 09:26:09AM -0600, Jens Axboe wrote:
> Hi,
> 
> Running current -git on my laptop (20FB, X1 Carbon gen4, skylake), I get
> a lot of the below warnings. Things seem to work fine (in fact it seems
> faster in general use than previously), but it's a lot of warning spew.
> 
> [  764.877978] [drm] Atomic update on pipe (A) took 156 us, max time under 
> evasion is 100 us

I tried to optimize this a bit recently but indeed it's stil known to be too
slow. Looks like all of that stuff did land in Linus's tree already,
so presumably you have it all already.

I did have some further ideas that should help but I got sidetracked by
other things before I managed to finish the work. I guess I'll need to get
back on that horse and try to finish what I started.

In the meantime, maybe we should just silence this error spew again
until we're more confident about meeting the deadlines. Maarten?

Do you have lockdep enabled BTW? Based on what I've seen lockdep does
seem be a major contributor to slowness here.

-- 
Ville Syrjälä
Intel OTC
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] drm] Atomic update on pipe (A) took 119 us, max time under evasion is 100 us

2017-05-04 Thread Jens Axboe
Hi,

Running current -git on my laptop (20FB, X1 Carbon gen4, skylake), I get
a lot of the below warnings. Things seem to work fine (in fact it seems
faster in general use than previously), but it's a lot of warning spew.

[  764.877978] [drm] Atomic update on pipe (A) took 156 us, max time under 
evasion is 100 us
[ 1210.063144] [drm] Atomic update on pipe (A) took 152 us, max time under 
evasion is 100 us
[ 1272.208727] [drm] Atomic update on pipe (A) took 213 us, max time under 
evasion is 100 us
[ 1308.106266] [drm] Atomic update on pipe (A) took 194 us, max time under 
evasion is 100 us
[ 1308.439572] [drm] Atomic update on pipe (A) took 202 us, max time under 
evasion is 100 us
[ 1371.905950] [drm] Atomic update on pipe (A) took 135 us, max time under 
evasion is 100 us
[ 1373.891378] [drm] Atomic update on pipe (A) took 202 us, max time under 
evasion is 100 us
[ 1497.259572] [drm] Atomic update on pipe (A) took 199 us, max time under 
evasion is 100 us
[ 1497.292922] [drm] Atomic update on pipe (A) took 178 us, max time under 
evasion is 100 us
[ 1497.326313] [drm] Atomic update on pipe (A) took 188 us, max time under 
evasion is 100 us
[ 1534.106959] [drm] Atomic update on pipe (A) took 223 us, max time under 
evasion is 100 us
[ 1534.190331] [drm] Atomic update on pipe (A) took 180 us, max time under 
evasion is 100 us
[ 1680.613275] [drm] Atomic update on pipe (A) took 101 us, max time under 
evasion is 100 us
[ 1870.783352] [drm] Atomic update on pipe (A) took 188 us, max time under 
evasion is 100 us
[ 2338.083752] [drm] Atomic update on pipe (A) took 225 us, max time under 
evasion is 100 us
[ 2405.212252] [drm] Atomic update on pipe (A) took 114 us, max time under 
evasion is 100 us
[ 2421.811125] [drm] Atomic update on pipe (A) took 112 us, max time under 
evasion is 100 us
[ 2426.344151] [drm] Atomic update on pipe (A) took 137 us, max time under 
evasion is 100 us
[ 2439.012088] [drm] Atomic update on pipe (A) took 143 us, max time under 
evasion is 100 us
[ 2446.011309] [drm] Atomic update on pipe (A) took 163 us, max time under 
evasion is 100 us
[ 2446.142622] [drm] Atomic update on pipe (A) took 112 us, max time under 
evasion is 100 us
[ 2446.542772] [drm] Atomic update on pipe (A) took 137 us, max time under 
evasion is 100 us
[ 2448.243922] [drm] Atomic update on pipe (A) took 157 us, max time under 
evasion is 100 us
[ 2450.042450] [drm] Atomic update on pipe (A) took 157 us, max time under 
evasion is 100 us
[ 2456.575226] [drm] Atomic update on pipe (A) took 131 us, max time under 
evasion is 100 us
[ 2457.275176] [drm] Atomic update on pipe (A) took 115 us, max time under 
evasion is 100 us
[ 2464.308098] [drm] Atomic update on pipe (A) took 112 us, max time under 
evasion is 100 us
[ 2569.418646] [drm] Atomic update on pipe (A) took 179 us, max time under 
evasion is 100 us
[ 2572.302065] [drm] Atomic update on pipe (A) took 133 us, max time under 
evasion is 100 us
[ 2589.933225] [drm] Atomic update on pipe (A) took 168 us, max time under 
evasion is 100 us
[ 2590.701810] [drm] Atomic update on pipe (A) took 175 us, max time under 
evasion is 100 us
[ 2606.732899] [drm] Atomic update on pipe (A) took 130 us, max time under 
evasion is 100 us
[ 2611.732710] [drm] Atomic update on pipe (A) took 147 us, max time under 
evasion is 100 us
[ 2615.532819] [drm] Atomic update on pipe (A) took 145 us, max time under 
evasion is 100 us
[ 2654.412509] [drm] Atomic update on pipe (A) took 157 us, max time under 
evasion is 100 us
[ 2657.012470] [drm] Atomic update on pipe (A) took 168 us, max time under 
evasion is 100 us
[ 2714.341971] [drm] Atomic update on pipe (A) took 144 us, max time under 
evasion is 100 us
[ 2775.486168] [drm] Atomic update on pipe (A) took 138 us, max time under 
evasion is 100 us
[ 2782.852360] [drm] Atomic update on pipe (A) took 113 us, max time under 
evasion is 100 us
[ 2795.319781] [drm] Atomic update on pipe (A) took 188 us, max time under 
evasion is 100 us
[ 2818.601093] [drm] Atomic update on pipe (A) took 160 us, max time under 
evasion is 100 us
[ 2867.998524] [drm] Atomic update on pipe (A) took 167 us, max time under 
evasion is 100 us
[ 2878.980535] [drm] Atomic update on pipe (A) took 163 us, max time under 
evasion is 100 us
[ 2945.607547] [drm] Atomic update on pipe (A) took 110 us, max time under 
evasion is 100 us
[ 2957.606588] [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure 
on pipe A (start=177768 end=177769) time 214 us, min 1431, max 1439, scanline 
start 1423, end 1442
[ 2958.609128] [drm] Atomic update on pipe (A) took 168 us, max time under 
evasion is 100 us
[ 2960.059591] [drm] Atomic update on pipe (A) took 186 us, max time under 
evasion is 100 us
[ 2960.658177] [drm] Atomic update on pipe (A) took 181 us, max time under 
evasion is 100 us
[ 3002.688632] [drm] Atomic update on pipe (A) took 210 us, max time under 
evasion is 100 us
[ 3021.939015] [drm] Atomic update on pipe (A) took 140 us, max time under