mbox series

[SRU,U,0/8] Fix TC port in legacy/static mode can't be detected due TCCOLD

Message ID 20200422070420.816972-1-vicamo.yang@canonical.com
Headers show
Series Fix TC port in legacy/static mode can't be detected due TCCOLD | expand

Message

You-Sheng Yang April 22, 2020, 7:04 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1868936

[Impact]
External monitor connected via a Type-C dongle when device is in PC10 may not be
light up.

[Fix]
Patches series https://patchwork.freedesktop.org/series/75941/ from
intel-gfx mailing list, which has been merged in drm-tip tree with tip
commit 0f8925090ac7.

[Test Case]
1. Ensure device may enter PC10.

   $ sudo powertop --auto-tune
   $ sudo watch cat /sys/kernel/debug/pmc_core/package_cstate_show

   Press Meta+L to lock screen for a while and unlock again, "Package
   C10" field should have non-zero counts.

2. Press Meta+L to lock screen again.

3. After screen turns black and wait a few more seconds, connect external
   monitor to a type C port via a type C dongle and wake the device.

4. Check if external monitor is also light up as an extended/mirrored
   screen.

[Regression Potential]
Medium.

José Roberto de Souza (8):
  drm/i915/display: Move out code to return the digital_port of the aux
    ch
  drm/i915/display: Add intel_legacy_aux_to_power_domain()
  drm/i915/display: Split hsw_power_well_enable() into two
  drm/i915/tc/icl: Implement TC cold sequences
  drm/i915/tc: Skip ref held check for TC legacy aux power wells
  drm/i915/tc/tgl: Implement TC cold sequences
  drm/i915/tc: Catch TC users accessing FIA registers without enable aux
  drm/i915/tc: Do not warn when aux power well of static TC ports
    timeout

 drivers/gpu/drm/i915/display/intel_display.c  |  14 +-
 drivers/gpu/drm/i915/display/intel_display.h  |   2 +
 .../drm/i915/display/intel_display_power.c    | 297 ++++++++++++++----
 .../drm/i915/display/intel_display_power.h    |   1 +
 drivers/gpu/drm/i915/display/intel_tc.c       |  94 +++++-
 drivers/gpu/drm/i915/i915_reg.h               |   5 +
 6 files changed, 350 insertions(+), 63 deletions(-)

Comments

Seth Forshee April 30, 2020, 9:29 p.m. UTC | #1
On Wed, Apr 22, 2020 at 03:04:12PM +0800, You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1868936
> 
> [Impact]
> External monitor connected via a Type-C dongle when device is in PC10 may not be
> light up.
> 
> [Fix]
> Patches series https://patchwork.freedesktop.org/series/75941/ from
> intel-gfx mailing list, which has been merged in drm-tip tree with tip
> commit 0f8925090ac7.
> 
> [Test Case]
> 1. Ensure device may enter PC10.
> 
>    $ sudo powertop --auto-tune
>    $ sudo watch cat /sys/kernel/debug/pmc_core/package_cstate_show
> 
>    Press Meta+L to lock screen for a while and unlock again, "Package
>    C10" field should have non-zero counts.
> 
> 2. Press Meta+L to lock screen again.
> 
> 3. After screen turns black and wait a few more seconds, connect external
>    monitor to a type C port via a type C dongle and wake the device.
> 
> 4. Check if external monitor is also light up as an extended/mirrored
>    screen.
> 
> [Regression Potential]
> Medium.

The patches are okay for unstable, however there are some problems with
your submission. Primarily these lines:

 (backported from drm-tip commit ...)

If you are going to add text to these lines, it must come after the
sha1. We have scripts which look for the '(cherry picked|backported)
from commit' strings, and if you add text in the middle it breaks these
scripts.

Also note that if these patches were only coming from a maintainer tree,
they should be sauce. However I see these patches in linux-next, so
please denote them like this:

 (backported from commit ... linux-next)

Thanks,
Seth
You-Sheng Yang May 8, 2020, 8:05 a.m. UTC | #2
On 2020-05-01 05:29, Seth Forshee wrote:
> On Wed, Apr 22, 2020 at 03:04:12PM +0800, You-Sheng Yang wrote:
>> BugLink: https://bugs.launchpad.net/bugs/1868936
> 
> The patches are okay for unstable, however there are some problems with
> your submission. Primarily these lines:
> 
>  (backported from drm-tip commit ...)

These patches had been revised and merged into groovy & unstable. So
I'll skip sending another run for it.

> Thanks,
> Seth
> 

Thank you.
You-Sheng Yang