[Intel-gfx] [PATCH 09/11] i915: add DP 1.2 MST support (v0.6)

2014-07-29 Thread Dave Airlie
On 29 July 2014 20:46, Daniel Vetter  wrote:
> On Wed, Jul 23, 2014 at 6:32 AM, Dave Airlie  wrote:
>> On 23 July 2014 06:02, Paulo Zanoni  wrote:
>>> 2014-06-05 1:01 GMT-03:00 Dave Airlie :
 From: Dave Airlie 

 This adds DP 1.2 MST support on Haswell systems.
>>>
>>> Hi
>>>
>>> It looks like drm-intel-nightly now includes this patch. It actually
>>> includes v7, but I couldn't find it on my mail dirs.
>>>
>>> Just by booting the machine with this patch, I get:
>>>
>>
>> There are two patches in my drm-i915-next branch
>>
>> They should remove the offending bits for the fbdev and powersave warning.
>
> Paulo, can you please test these two patches?
>
Oh he did already, didn't I push them? I must have forgotten.

Dave.


[Intel-gfx] [PATCH 09/11] i915: add DP 1.2 MST support (v0.6)

2014-07-29 Thread Daniel Vetter
On Tue, Jul 29, 2014 at 12:50 PM, Dave Airlie  wrote:
> On 29 July 2014 20:46, Daniel Vetter  wrote:
>> On Wed, Jul 23, 2014 at 6:32 AM, Dave Airlie  wrote:
>>> On 23 July 2014 06:02, Paulo Zanoni  wrote:
 2014-06-05 1:01 GMT-03:00 Dave Airlie :
> From: Dave Airlie 
>
> This adds DP 1.2 MST support on Haswell systems.

 Hi

 It looks like drm-intel-nightly now includes this patch. It actually
 includes v7, but I couldn't find it on my mail dirs.

 Just by booting the machine with this patch, I get:

>>>
>>> There are two patches in my drm-i915-next branch
>>>
>>> They should remove the offending bits for the fbdev and powersave warning.
>>
>> Paulo, can you please test these two patches?
>>
> Oh he did already, didn't I push them? I must have forgotten.

Oh, I guess I've missed that since it didn't go over the m-l ;-) It's
there already.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


[Intel-gfx] [PATCH 09/11] i915: add DP 1.2 MST support (v0.6)

2014-07-29 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 6:32 AM, Dave Airlie  wrote:
> On 23 July 2014 06:02, Paulo Zanoni  wrote:
>> 2014-06-05 1:01 GMT-03:00 Dave Airlie :
>>> From: Dave Airlie 
>>>
>>> This adds DP 1.2 MST support on Haswell systems.
>>
>> Hi
>>
>> It looks like drm-intel-nightly now includes this patch. It actually
>> includes v7, but I couldn't find it on my mail dirs.
>>
>> Just by booting the machine with this patch, I get:
>>
>
> There are two patches in my drm-i915-next branch
>
> They should remove the offending bits for the fbdev and powersave warning.

Paulo, can you please test these two patches?
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


[Intel-gfx] [PATCH 09/11] i915: add DP 1.2 MST support (v0.6)

2014-07-23 Thread Dave Airlie
On 23 July 2014 06:02, Paulo Zanoni  wrote:
> 2014-06-05 1:01 GMT-03:00 Dave Airlie :
>> From: Dave Airlie 
>>
>> This adds DP 1.2 MST support on Haswell systems.
>
> Hi
>
> It looks like drm-intel-nightly now includes this patch. It actually
> includes v7, but I couldn't find it on my mail dirs.
>
> Just by booting the machine with this patch, I get:
>

There are two patches in my drm-i915-next branch

They should remove the offending bits for the fbdev and powersave warning.

Dave.


[Intel-gfx] [PATCH 09/11] i915: add DP 1.2 MST support (v0.6)

2014-07-22 Thread Paulo Zanoni
2014-06-05 1:01 GMT-03:00 Dave Airlie :
> From: Dave Airlie 
>
> This adds DP 1.2 MST support on Haswell systems.

Hi

It looks like drm-intel-nightly now includes this patch. It actually
includes v7, but I couldn't find it on my mail dirs.

Just by booting the machine with this patch, I get:

[   11.013593] [ cut here ]
[   11.013627] WARNING: CPU: 1 PID: 389 at
drivers/gpu/drm/i915/intel_fbdev.c:383
intel_fb_initial_config+0x3ca/0x660 [i915]()
[   11.013629] Modules linked in: i2c_designware_platform i915(+)
i2c_designware_core i2c_algo_bit drm_kms_helper drm sg sd_mod ahci
ehci_pci libahci ehci_hcd e1000e xhci_hcd sdhci_acpi sdhci
[   11.013651] CPU: 1 PID: 389 Comm: udevd Not tainted
3.16.0-rc6.1407221626+ #673
[   11.013654] Hardware name: Intel Corporation Shark Bay Client
platform/WhiteTip Mountain 1, BIOS HSWLPTU1.86C.0137.R00.1403031632
03/03/2014
[   11.013656]  0009 88009d14b790 816b6a61

[   11.013662]  88009d14b7c8 81075d88 8801483db10b
880148279400
[   11.013667]  88009d0caf00 0003 0003
88009d14b7d8
[   11.013672] Call Trace:
[   11.013680]  [] dump_stack+0x4d/0x66
[   11.013686]  [] warn_slowpath_common+0x78/0xa0
[   11.013690]  [] warn_slowpath_null+0x15/0x20
[   11.013714]  [] intel_fb_initial_config+0x3ca/0x660 [i915]
[   11.013724]  [] drm_setup_crtcs+0x17f/0x830
[drm_kms_helper]
[   11.013729]  [] ? trace_hardirqs_on_caller+0x15d/0x200
[   11.013736]  []
drm_fb_helper_initial_config+0x19a/0x4d0 [drm_kms_helper]
[   11.013740]  [] ? trace_hardirqs_on_caller+0x15d/0x200
[   11.013762]  [] intel_fbdev_initial_config+0x1a/0x20 [i915]
[   11.013789]  [] i915_driver_load+0x111b/0x1130 [i915]
[   11.013803]  [] drm_dev_register+0xa5/0x100 [drm]
[   11.013815]  [] drm_get_pci_dev+0x88/0x1f0 [drm]
[   11.013834]  [] i915_pci_probe+0x36/0x50 [i915]
[   11.013839]  [] local_pci_probe+0x3d/0xa0
[   11.013843]  [] ? pci_match_device+0xe5/0x110
[   11.013847]  [] pci_device_probe+0xc9/0x120
[   11.013853]  [] driver_probe_device+0x89/0x250
[   11.013857]  [] __driver_attach+0x8b/0x90
[   11.013879]  [] ? __device_attach+0x40/0x40
[   11.013883]  [] bus_for_each_dev+0x63/0xa0
[   11.013888]  [] driver_attach+0x19/0x20
[   11.013892]  [] bus_add_driver+0x178/0x230
[   11.013896]  [] driver_register+0x5f/0xf0
[   11.013899]  [] __pci_register_driver+0x58/0x60
[   11.013911]  [] drm_pci_init+0xfa/0x130 [drm]
[   11.013915]  [] ? trace_hardirqs_on+0xd/0x10
[   11.013918]  [] ? 0xa0221fff
[   11.013937]  [] i915_init+0x89/0x90 [i915]
[   11.013942]  [] do_one_initcall+0x98/0x1f0
[   11.013947]  [] ? __vunmap+0xa2/0x100
[   11.013952]  [] load_module+0x1bea/0x22d0
[   11.013956]  [] ? symbol_put_addr+0x40/0x40
[   11.013960]  [] ? copy_module_from_fd.isra.49+0x119/0x170
[   11.013965]  [] SyS_finit_module+0x76/0x80
[   11.013970]  [] system_call_fastpath+0x16/0x1b
[   11.013973] ---[ end trace e4d35cd76b2fc39f ]---

This is the WARN that makes the code print
[drm:intel_fb_initial_config] connector HDMI-A-2 has no encoder or
crtc, skipping


Then, if I do a normal S3 suspend/resume cycle with the desktop
enabled and everything running, I get:

[   32.431306] [ cut here ]
[   32.431341] WARNING: CPU: 2 PID: 3200 at
drivers/gpu/drm/i915/intel_pm.c:4979
intel_suspend_gt_powersave+0x49/0x50 [i915]()
[   32.431370] Modules linked in: fuse intel_rapl x86_pkg_temp_thermal
intel_powerclamp serio_raw i2c_i801 i2c_designware_platform
i2c_designware_core i915 i2c_algo_bit drm_kms_helper drm mei_me mei sg
sd_mod ehci_pci ehci_hcd ahci libahci e1000e xhci_hcd sdhci_acpi sdhci
[   32.431373] CPU: 2 PID: 3200 Comm: kworker/u16:14 Tainted: G
W 3.16.0-rc6.1407221626+ #673
[   32.431375] Hardware name: Intel Corporation Shark Bay Client
platform/WhiteTip Mountain 1, BIOS HSWLPTU1.86C.0137.R00.1403031632
03/03/2014
[   32.431379] Workqueue: events_unbound async_run_entry_fn
[   32.431383]  0009 88009d1f3be8 816b6a61

[   32.431386]  88009d1f3c20 81075d88 88014861

[   32.431390]  88014861 88009d86e758 81a5d47a
88009d1f3c30
[   32.431390] Call Trace:
[   32.431396]  [] dump_stack+0x4d/0x66
[   32.431399]  [] warn_slowpath_common+0x78/0xa0
[   32.431402]  [] warn_slowpath_null+0x15/0x20
[   32.431413]  [] intel_suspend_gt_powersave+0x49/0x50 [i915]
[   32.431422]  [] i915_drm_freeze+0x96/0x190 [i915]
[   32.431430]  [] i915_pm_suspend+0x2a/0x50 [i915]
[   32.431434]  [] pci_pm_suspend+0x71/0x160
[   32.431437]  [] ? pci_pm_freeze+0xe0/0xe0
[   32.431440]  [] dpm_run_callback+0x3a/0x130
[   32.431443]  [] __device_suspend+0xf0/0x2f0
[   32.431445]  [] async_suspend+0x1a/0xa0
[   32.431448]  [] async_run_entry_fn+0x34/0x120
[   32.431451]  [] process_one_work+0x1cf/0x550
[   32.431454]  [] ? process_one_work+0x16f/0x550
[   32.431457]  [] worker_thread+0x63/0x540
[   32.431461]  [] ?