Re: [Intel-gfx] [PATCH] drm/i915: Unhook legacy suspend/resume when KMS is enabled

2015-08-29 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: 
shuang...@intel.com)
Task id: 7249
-Summary-
Platform  Delta  drm-intel-nightly  Series Applied
ILK -1  302/302  301/302
SNB  315/315  315/315
IVB  336/336  336/336
BYT  283/283  283/283
HSW  378/378  378/378
-Detailed-
Platform  Testdrm-intel-nightly  Series 
Applied
*ILK  igt@kms_flip@wf_vblank-vs-modeset-interruptible  PASS(1)  
DMESG_WARN(1)
Note: You need to pay more attention to line start with '*'
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH 4/4] drm/i915: Retry for live status

2015-08-29 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: 
shuang...@intel.com)
Task id: 7251
-Summary-
Platform  Delta  drm-intel-nightly  Series Applied
ILK -2  302/302  300/302
SNB  315/315  315/315
IVB  336/336  336/336
BYT -7  283/283  276/283
HSW  378/378  378/378
-Detailed-
Platform  Testdrm-intel-nightly  Series 
Applied
*ILK  igt@kms_flip@flip-vs-dpms-interruptible  PASS(1)  DMESG_WARN(1)
*ILK  igt@kms_flip@wf_vblank-vs-modeset-interruptible  PASS(1)  
DMESG_WARN(1)
*BYT  igt@drm_read@empty-block  PASS(1)  NSPT(1)
*BYT  igt@drm_read@empty-nonblock  PASS(1)  NSPT(1)
*BYT  igt@drm_read@invalid-buffer  PASS(1)  NSPT(1)
*BYT  igt@drm_read@short-buffer-block  PASS(1)  NSPT(1)
*BYT  igt@drm_read@short-buffer-nonblock  PASS(1)  NSPT(1)
*BYT  igt@gem_partial_pwrite_pread@reads-uncached  PASS(1)  FAIL(1)
*BYT  igt@gem_tiled_partial_pwrite_pread@reads  PASS(1)  FAIL(1)
Note: You need to pay more attention to line start with '*'
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH v2 00/22] Enable gpu switching on the MacBook Pro

2015-08-29 Thread Lukas Wunner
Hi Daniel, Hi Jani,

the patch set I've posted August 12 included 3 commits which fix bugs
in i915. These bugs should be fixed independently of MacBook Pro GPU
switching, please consider merging them:

drm/i915: Preserve SSC earlier
http://patchwork.freedesktop.org/patch/56921/

drm/i915: Fix failure paths around initial fbdev allocation
http://patchwork.freedesktop.org/patch/53673/
drm/i915: On fb alloc failure, unref gem object where it gets refed
http://patchwork.freedesktop.org/patch/53674/

The latter two commits relate to a bug Jani was tracking before his
holidays which has unfortunately fallen by the wayside.

Thanks,

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


Re: [Intel-gfx] [PATCH] drm/atomic-helper: properly annotate functions in kerneldoc

2015-08-29 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: 
shuang...@intel.com)
Task id: 7253
-Summary-
Platform  Delta  drm-intel-nightly  Series Applied
ILK -1  302/302  301/302
SNB  315/315  315/315
IVB  336/336  336/336
BYT -1  283/283  282/283
HSW  378/378  378/378
-Detailed-
Platform  Testdrm-intel-nightly  Series 
Applied
*ILK  igt@kms_flip@wf_vblank-vs-modeset-interruptible  PASS(1)  
DMESG_WARN(1)
*BYT  igt@gem_partial_pwrite_pread@reads-uncached  PASS(1)  FAIL(1)
Note: You need to pay more attention to line start with '*'
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH v2 3/3] drm/i915/dp: move TPS3 logic to where it's used

2015-08-29 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: 
shuang...@intel.com)
Task id: 7269
-Summary-
Platform  Delta  drm-intel-nightly  Series Applied
ILK  253/253  253/253
SNB  248/248  248/248
IVB  281/281  281/281
BYT -2  234/234  232/234
HSW  317/317  317/317
-Detailed-
Platform  Testdrm-intel-nightly  Series 
Applied
*BYT  igt@gem_partial_pwrite_pread@reads  PASS(1)  FAIL(1)
*BYT  igt@gem_partial_pwrite_pread@reads-uncached  PASS(1)  FAIL(1)
Note: You need to pay more attention to line start with '*'
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH] drm/fb-helper: Use -errno return in restore_mode_unlocked

2015-08-29 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: 
shuang...@intel.com)
Task id: 7254
-Summary-
Platform  Delta  drm-intel-nightly  Series Applied
ILK -2  302/302  300/302
SNB  315/315  315/315
IVB  336/336  336/336
BYT -1  283/283  282/283
HSW  378/378  378/378
-Detailed-
Platform  Testdrm-intel-nightly  Series 
Applied
*ILK  igt@kms_flip@flip-vs-dpms-interruptible  PASS(1)  DMESG_WARN(1)
*ILK  igt@kms_flip@wf_vblank-vs-modeset-interruptible  PASS(1)  
DMESG_WARN(1)
*BYT  igt@gem_tiled_partial_pwrite_pread@reads  PASS(1)  FAIL(1)
Note: You need to pay more attention to line start with '*'
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH] drm/i915: apply the PCI_D0/D3 hibernation workaround everywhere on pre GEN6

2015-08-29 Thread Mikko Rapeli
Please, please merge this patch already. Without it hibernation poweroff
is broken for several users. There were some doubts raised over the
approach on lkml review but Imre as maintainer thinks this is the right
thing to do and users like me need this patch.

Tested again with Thinkpad T60 and kernel version 4.1.6.

Tested-by: Mikko Rapeli 

-Mikko

On Tue, Jun 30, 2015 at 05:06:47PM +0300, Imre Deak wrote:
> commit da2bc1b9db3351addd293e5b82757efe1f77ed1d
> Author: Imre Deak 
> Date:   Thu Oct 23 19:23:26 2014 +0300
> 
> drm/i915: add poweroff_late handler
> 
> introduced a regression on old platforms during hibernation. A workaround was
> added in
> 
> commit ab3be73fa7b43f4c3648ce29b5fd649ea54d3adb
> Author: Imre Deak 
> Date:   Mon Mar 2 13:04:41 2015 +0200
> 
> drm/i915: gen4: work around hang during hibernation
> 
> using an explicit blacklist for the GENs/BIOS vendors where the issue was
> reported. Later there we had reports of the same failure on platforms not on
> this list.
> 
> To my best knowledge the correct thing to do is still to put the device to PCI
> D3 state during hibernation, see [1] and [2] for the reasons. This also aligns
> with our future plans to unify more the runtime and system suspend/resume
> paths. Since an exact blacklist seems to be impractical (multiple GENs and
> BIOS vendors are affected) apply the workaround on everything pre GEN6.
> 
> [1] http://lists.freedesktop.org/archives/intel-gfx/2015-February/060710.html
> [2] https://lkml.org/lkml/2015/6/22/274
> 
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=95061
> Reported-by: Ilya Tumaykin 
> Reported-by: Dirk Griesbach 
> Reported-by: Pavel Machek 
> Reported-by: Mikko Rapeli 
> Reported-by: Paul Bolle 
> CC: sta...@vger.kernel.org
> Signed-off-by: Imre Deak 
> ---
>  drivers/gpu/drm/i915/i915_drv.c | 15 +--
>  1 file changed, 9 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
> index e44dc0d..1e675ff 100644
> --- a/drivers/gpu/drm/i915/i915_drv.c
> +++ b/drivers/gpu/drm/i915/i915_drv.c
> @@ -664,15 +664,18 @@ static int i915_drm_suspend_late(struct drm_device 
> *drm_dev, bool hibernation)
>  
>   pci_disable_device(drm_dev->pdev);
>   /*
> -  * During hibernation on some GEN4 platforms the BIOS may try to access
> +  * During hibernation on some platforms the BIOS may try to access
>* the device even though it's already in D3 and hang the machine. So
>* leave the device in D0 on those platforms and hope the BIOS will
> -  * power down the device properly. Platforms where this was seen:
> -  * Lenovo Thinkpad X301, X61s
> +  * power down the device properly. The issue was seen on multiple old
> +  * GENs with different BIOS vendors, so having an explicit blacklist
> +  * is inpractical; apply the workaround on everything pre GEN6. The
> +  * platforms where the issue was seen:
> +  * Lenovo Thinkpad X301, X61s, X60, T60, X41
> +  * Fujitsu FSC S7110
> +  * Acer Aspire 1830T
>*/
> - if (!(hibernation &&
> -   drm_dev->pdev->subsystem_vendor == PCI_VENDOR_ID_LENOVO &&
> -   INTEL_INFO(dev_priv)->gen == 4))
> + if (!(hibernation && INTEL_INFO(dev_priv)->gen < 6))
>   pci_set_power_state(drm_dev->pdev, PCI_D3hot);
>  
>   return 0;
> -- 
> 2.1.4
> 
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH] drm/i915: Fix broken mst get_hw_state.

2015-08-29 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: 
shuang...@intel.com)
Task id: 7270
-Summary-
Platform  Delta  drm-intel-nightly  Series Applied
ILK  253/253  253/253
SNB  248/248  248/248
IVB  281/281  281/281
BYT  234/234  234/234
HSW  317/317  317/317
-Detailed-
Platform  Testdrm-intel-nightly  Series 
Applied
Note: You need to pay more attention to line start with '*'
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH] drm/i915: Fix module initialisation, v2.

2015-08-29 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: 
shuang...@intel.com)
Task id: 7275
-Summary-
Platform  Delta  drm-intel-nightly  Series Applied
ILK -1  253/253  252/253
SNB  248/248  248/248
IVB  281/281  281/281
BYT  234/234  234/234
HSW  317/317  317/317
-Detailed-
Platform  Testdrm-intel-nightly  Series 
Applied
*ILK  igt@gem_reloc_vs_gpu@forked-interruptible-faulting-reloc-thrashing  
PASS(1)  DMESG_WARN(1)
Note: You need to pay more attention to line start with '*'
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH v2 5/5] drm/i915: skip modeset if compatible for everyone.

2015-08-29 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: 
shuang...@intel.com)
Task id: 7277
-Summary-
Platform  Delta  drm-intel-nightly  Series Applied
ILK -1  253/253  252/253
SNB  248/248  248/248
IVB  281/281  281/281
BYT -2  234/234  232/234
HSW  317/317  317/317
-Detailed-
Platform  Testdrm-intel-nightly  Series 
Applied
*ILK  igt@gem_reloc_vs_gpu@forked-interruptible-faulting-reloc-thrashing  
PASS(1)  DMESG_WARN(1)
*BYT  igt@gem_partial_pwrite_pread@reads-display  PASS(1)  FAIL(1)
*BYT  igt@gem_partial_pwrite_pread@reads-uncached  PASS(1)  FAIL(1)
Note: You need to pay more attention to line start with '*'
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH 17/17] drm/i915: Pass hpd_status_i915[] to intel_get_hpd_pins() in pre-g4x

2015-08-29 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: 
shuang...@intel.com)
Task id: 7281
-Summary-
Platform  Delta  drm-intel-nightly  Series Applied
ILK  253/253  253/253
SNB  248/248  248/248
IVB  281/281  281/281
BYT -1  234/234  233/234
HSW  317/317  317/317
-Detailed-
Platform  Testdrm-intel-nightly  Series 
Applied
*BYT  igt@gem_tiled_partial_pwrite_pread@reads  PASS(1)  FAIL(1)
Note: You need to pay more attention to line start with '*'
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH 2/2] drm/i915: restrict unclaimed register checking

2015-08-29 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: 
shuang...@intel.com)
Task id: 7256
-Summary-
Platform  Delta  drm-intel-nightly  Series Applied
ILK -1  302/302  301/302
SNB  315/315  315/315
IVB  336/336  336/336
BYT  283/283  283/283
HSW  378/378  378/378
-Detailed-
Platform  Testdrm-intel-nightly  Series 
Applied
*ILK  igt@kms_flip@flip-vs-dpms-interruptible  PASS(1)  DMESG_WARN(1)
Note: You need to pay more attention to line start with '*'
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx