<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 6, 2015 at 1:20 PM harrykipper <<a href="mailto:harrykipper@gmail.com">harrykipper@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I just discovered that Intel introduced PSR with IvyBridge, so I tried<br></blockquote><div><br></div><div>Unfortunately this information is incorrect. There is no PSR on IVB. No single mention in the specs here.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
to enable it for my laptop, which has an eDP panel that supports psr. </blockquote><div><br></div><div>So yes, you might have a panel that supports PSR that came with IVB, but PSR musts be supported on both sides, on panel and on gpu.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The patch is attached (all I do is enable all things IvyBridge, I am<br>
not familiar with the kernel at all, apologies if you see absurdities).<br>
<br>
However, I had *some* success, I have:<br>
<br>
Sink_Support: yes<br>
Source_OK: yes<br>
Enabled: yes<br>
Active: yes<br>
Busy frontbuffer bits: 0x000<br>
Re-enable work scheduled: no<br>
HW Enabled & Active bit: no<br></blockquote><div>actually this line here tells you didn't have success.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Link standby: no<br>
Performance_Counter: 0<br>
<br>
and so far I am only seeing one error, whenever the screen is turned<br>
on/off (at boot and when gnome blanks it to save power, for example).<br>
All the problems seem to be in intel_psr_exit() and intel_psr_flush().<br>
I read in Rodrigo Vivi's blog that a psr test should exist in<br>
intel-gpu-tools, but I couldn't find it.<br></blockquote><div><br></div><div>kms_psr_sink_crc and kms_frontbuffer_tracking can be used to test PSR, but in your case it will probably just test a state machine entry exit with no actual PSR entry/exit on the panel side.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I am inclined to think that enabling psr for IvyBridge shouldn't be too<br>
hard for someone who knows what they are doing. If someone wants to<br>
take this on I will be happy to test and report bugs, although my<br>
hardware is fairly bizarre.<br></blockquote><div><br></div><div>I would be happy to help if IVB had any PSR related patch... however this is simply impossible. </div><div> </div><div><div>Thanks for the interest,</div><div>Rodrigo</div></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best regards </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
------------[ cut here ]------------<br>
kernel: WARNING: CPU: 3 PID: 726 at<br>
drivers/gpu/drm/i915/intel_psr.c:532 intel_psr_exit+0x152/0x160()<br>
kernel: WARN_ON(!(val & EDP_PSR_ENABLE))<br>
kernel: Modules linked in:<br>
kernel: fuse acpi_call(O) nls_iso8859_15 nls_cp850 vfat fat<br>
snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_cod<br>
kernel: CPU: 3 PID: 726 Comm: Xorg Tainted: G U O 4.1.4-eDP<br>
#1<br>
kernel: Hardware name: LENOVO 2324B14/2324B14, BIOS G2ETA3WW (2.63 )<br>
02/05/2015<br>
kernel: ffffffff81718e70 000000000bfa939c ffffffff81718e70<br>
ffffffff815b820b<br>
kernel: ffff8800c50d7c50 ffffffff810709a7 ffff8802146c0000<br>
0000000000000000<br>
kernel: ffff880214a4a800 0000000000000000 ffff880214a4a800<br>
ffffffff81070a38<br>
kernel: Call Trace:<br>
kernel: [<ffffffff815b820b>] ? dump_stack+0x47/0x67<br>
kernel: [<ffffffff810709a7>] ? warn_slowpath_common+0x77/0xb0<br>
kernel: [<ffffffff81070a38>] ? warn_slowpath_fmt+0x58/0x80<br>
kernel: [<ffffffff813c3ec2>] ? intel_psr_exit+0x152/0x160<br>
kernel: [<ffffffff813c4bf2>] ? intel_psr_invalidate+0x42/0x70<br>
kernel: [<ffffffff813c1268>] ? intel_fb_obj_invalidate+0xa8/0x110<br>
kernel: [<ffffffff8137bf07>] ?<br>
i915_gem_object_set_to_gtt_domain+0x127/0x150<br>
kernel: [<ffffffff8137ff33>] ? i915_gem_fault+0x1e3/0x3f0<br>
kernel: [<ffffffff811291ba>] ? __do_fault+0x4a/0xe0<br>
kernel: [<ffffffff811600e0>] ? __mem_cgroup_count_vm_event+0x10/0x70<br>
kernel: [<ffffffff8112d2f8>] ? handle_mm_fault+0x438/0x15b0<br>
kernel: [<ffffffff811899b3>] ? __fget+0x63/0xa0<br>
kernel: [<ffffffff8107a575>] ? recalc_sigpending+0x15/0x50<br>
kernel: [<ffffffff8107b1b8>] ? __set_task_blocked+0x38/0x90<br>
kernel: [<ffffffff8103f798>] ? __do_page_fault+0x158/0x3d0<br>
kernel: [<ffffffff8107db09>] ? SyS_rt_sigprocmask+0x89/0xd0<br>
kernel: [<ffffffff815c0342>] ? page_fault+0x22/0x30<br>
kernel: ---[ end trace cb3b5b396afe8d4e ]---<br>
<br>
<br>
_______________________________________________<br>
Intel-gfx mailing list<br>
<a href="mailto:Intel-gfx@lists.freedesktop.org" target="_blank">Intel-gfx@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/intel-gfx" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/intel-gfx</a><br>
</blockquote></div></div>