Skip to contentSkip to conversation

amdgpu dc drm-next-4.15-dc

GIT PULL Alex Deucher 4 participants 6 messages Oct 21, 2017 – Oct 27, 2017 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi Dave,

Last batch of new stuff for DC. Highlights:
- Fix some memory leaks
- S3 fixes
- Hotplug fixes
- Fix some CX multi-display issues
- MST fixes
- DML updates from the hw team
- Various code cleanups
- Misc bug fixes

The following changes since commit bd21a37d41c3b3088aeae59f54fd82de0ddb6fdd:

Merge remote-tracking branch 'pfdo/drm-next' into drm-next (2017-10-17 10:53:43 +1000)

are available in the git repository at:

git://people.freedesktop.org/~agd5f/linux drm-next-4.15-dc

for you to fetch changes up to 9b38bd1b8f5c874c3d1f330e0dcf4e7d84137477:

drm/amd/display:: Fix NULL pointer in Raven hotplug (2017-10-21 16:53:56 -0400)

----------------------------------------------------------------
Andrew Jiang (9):
drm/amd/display: Force always scale chroma, set always_scaled to false drm/amd/display: power_down_Hw need signal type to turnoff backlight drm/amd/display: Move power control from link encoder to hwsequencer drm/amd/display: Add missing newlines in pstate wait debug messages drm/amd/display: Fix up plane_states add/remove logic drm/amd/display: Don't set cursor address is 0 logging as errors drm/amd/display: Correct timings in build scaling params drm/amd/display: Add chip mask to HDMI retimer/redriver check drm/amd/display: Add DIGD case when getting retimer settings

Bhawanpreet Lakha (5):
drm/amd/display: Refactor dc_update_planes_and_stream. drm/amd/display: fix re-enabling stutter for raven drm/amd/display: increase pstate wait timeout drm/amd/display: Fix underscan not using proper scaling drm/amd/display: change when to set tap_hardcode_coeff

Charlene Liu (9):
drm/amd/display: make sure BL off to mainlink off has enough time drm/amd/display: add hubp/dpp pg debug key drm/amd/display: temp disable DCC on high res. drm/amd/display: soc_bound_box -update DML based on HW. drm/amd/display: audio dynamic resource acquired related drm/amd/display: arbitration find the matching dig-az first. drm/amd/display: Add stereo_support debug flag drm/amd/display: Add debug flag for VSR support drm/amd/display: reject 3D mode based on static debug flag.

Dave Airlie (3):
drm/amd/display: drop display_pipe_clocks.c. amdgpu/dc: drop dml_util_is_420 amdgpu/dc: inline dml_round_to_multiple

Dmytro Laktyushkin (10):
drm/amd/display: Restructuring and cleaning up DML drm/amd/display: add mode support check to dml vba code drm/amd/display: extract global sync params from vba drm/amd/display: change dml vba cursor count define to correct one drm/amd/display: block video planes >4k on dcn10 drm/amd/display: add max_video_width cap to dc drm/amd/display: add performance trace macro to dc drm/amd/display: Set addressable region as active + border drm/amd/display: change dml numdpp var to uint drm/amd/display: Minor update to DML

Eric Bernstein (7):
drm/amd/display: update mpc add/remove functions drm/amd/display: update blending mode and set output denorm drm/amd/display: clean up dcn10 dpp after HW review drm/amd/display: group DCN watermark registers drm/amd/display: Add DPP capabilities drm/amd/display: Expose some MPC functions for reuse drm/amd/display: check SR_WATERMARK regs prior to write

Eric Yang (6):
drm/amd/display: fix usb-c dongle regression drm/amd/display: add back removed hack for mpcc add drm/amd/display: Use active + border for bw validation drm/amd/display: Add override for reporting wm ranges drm/amd/display: Handle case when stream not found in set_dpms drm/amd/display: fix null dereference in reset hw ctx

Harry Wentland (19):
drm/amd/display: Don't report fake sink as connected Revert "amdgpu/dc: inline dml_round_to_multiple" Revert "amdgpu/dc: drop dml display_mode_support.c (v2)" Revert "amdgpu/dc: drop dml_util_is_420"
Revert "amdgpu/dc: inline a bunch of the dml wrappers." Revert "amdgpu/dc: drop display_pipe_clocks.c." Revert "amdgpu/dc: inline a bunch of float operations." drm/amd/display: Ignore wrong tautological warning drm/amd/display: Fix non-DCN build
drm/amd/display: Fix warning about overflow drm/amd/display: Fix warning about uninitialized variable drm/amd/display: Fix up some whitespace in handle_cursor_update drm/amd/display: Move OS types to os_types.h drm/amd/display: Fix one more place for dc_stream_state leak drm/amd/display: Reduce stack size of commit_planes_to_stream drm/amd/display: Remove redundant condition in dml vba drm/amd/display: Small comment on dc_commit_planes_to_stream amdgpu/dc: inline a bunch of the dml wrappers. drm/amd/display: Add bunch of missing license headers in DML

Hersen Wu (5):
drm/amd/display: Driver message to SMU to indicate display off drm/amd/display: screen flickers when connected to ext monitor in clone drm/amd/display: add dpms state to DC
drm/amd/display: add dpms state to DC follow up drm/amd/display: LGD panel willl flash line under window

Jerry (Fangzhi) Zuo (1):
drm/amd/display:: Fix NULL pointer in Raven hotplug

Jerry Zuo (8):
drm/amd/display: Exclude MST from fake sink drm/amd/display: Fix NULL pointer on MST chained mode drm/amd/display: Fix MST daisy chain SST not light up drm/amd/display: Fix ref_count messed up issue drm/amd/display: Do not access fbdev helper members drm/amd/display: Remove drm_modeset_lock in MST code drm/amd/display: Fix a logic defect in cursor move drm/amd/display: Remove a false-positive error message

Ken Chalmers (1):
drm/amd/display: fix ASSERT() caused by missing registers.

Leo (Sunpeng) Li (5):
drm/amd/display: Match actual state during S3 resume. drm/amd/display: Do not set bandwidth on page flips. drm/amd/display: Report stream as different on scaling change drm/amd/display: ASSERT on dc_create_state failing. drm/amd/display: Fix memoryleak during S3 resume.

Martin Tsai (2):
drm/amd/display: To prevent detecting new sink from spurious HPD drm/amd/display: To prevent detecting new sink from spurious HPD

Roman Li (4):
drm/amd/display: Add FBC on/off to front-end programming drm/amd/display: fix multi-display on CZ drm/amd/display: Fix hotplug after s3 resume. drm/amd/display: Fix irq enable/disable on resume.

ShihChen Chen (1):
drm/amd/display: make tile changing run at ISR

Shirish S (2):
drm/amd/display: make FBC configurable option drm/amd/display: add hardware_planes_only to list of affected planes

SivapiriyanKumarasamy (2):
drm/amd/display: Program stream's csc matrix instead of using default drm/amd/display: Pull transfer func defines into DC

Tom St Denis (13):
drm/amd/display: Simplify dm_late_init()
drm/amd/display: Fix indentation in dm_suspend() drm/amd/display: Fix indentation in dm_resume()
drm/amd/display: Fix brace style in amdgpu_dm_update_connector_after_detect() drm/amd/display: Fix brace style in dm_handle_hpd_rx_irq() drm/amd/display: Simplify handle_hpd_rx_irq()
drm/amd/display: Fix brace style in amdgpu_dm_initialize_drm_device() drm/amd/display: Replace block with strncpy() in fill_audio_info() drm/amd/display: Fix indentation in create_eml_sink() drm/amd/display: Tidy up dm_drm_plane_reset()
drm/amd/display: Fix brace style in amdgpu_dm_connector_ddc_get_modes() drm/amd/display: Remove needless cast in amdgpu_dm_connector_init() drm/amd/display: Fix brace style

Tony Cheng (13):
drm/amd/display: version 3.1.02
drm/amd/display: enable optional pipe split for single display drm/amd/display: add option to disable DCC for DCC 128b request drm/amd/display: option to maximize lb usage drm/amd/display: fix bug in force_single_disp_pipe_split drm/amd/display: dal 3.1.03
drm/amd/display: align DCLK to voltage level drm/amd/display: wrong VM setting cause invalid DF request from DCN drm/amd/display: dal 3.1.04
drm/amd/display: dal 3.1.05
drm/amd/display: DAL 3.1.06
drm/amd/display: dal 3.1.07
drm/amd/display: default force_single_disp_pipe_split = 1 on RV

Vitaly Prosyak (1):
drm/amd/display: [RV] bug in cm programming

Wenjing Liu (3):
drm/amd/display: set cp25201 to use TPS4 drm/amd/display: update link type to mst before topology discovery drm/amd/display: disconnect on HPD low even if edid is the same

Yongqiang Sun (10):
drm/amd/display: Fixed validation return wrong result. drm/amd/display: Fixed incorrect return value for validaton drm/amd/display: Early return when turn off a plane. drm/amd/display: Only reset top pipe back end. drm/amd/display: Enable double buffer as per vertical interrupt enabled. drm/amd/display: Program front end first when set mode. drm/amd/display: Fixed extend to second screen mode hang drm/amd/display: wa to program split pipedegamma regs after mode set. drm/amd/display: Fixed switching mode half screen gamma incorrect. drm/amd/display: WA for 3 display play video hot plug.

Yue Hin Lau (14):
drm/amd/display: Refactor dcn10_dpp_cm_helper to dcn10_cm_common drm/amd/display: fixing register includes drm/amd/display: removing remaining register definitions work around drm/amd/display: moving backlight registers to hwsequencer drm/amd/display: edp backlight regression fix drm/amd/display: moving cursor functions from ipp to mem_input drm/amd/display: Expose some mem_input functions for reuse drm/amd/display: renaming mem input to hubp drm/amd/display: Making hubp1_program_surface_config public drm/amd/display: rename struct mem_input to hubp for dcn drm/amd/display: renaming filename for hubp drm/amd/display: add null check for cursor functions drm/amd/display: rename transform to dpp for dcn drm/amd/display: rename dscl functions

kbuild test robot (2):
drm/amd/dc: fix semicolon.cocci warnings drm/amd/display: fix ifnullfree.cocci warnings

 drivers/gpu/drm/amd/display/Kconfig                |   10 +
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |  207 +-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c  |   21 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c    |  135 +-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_services.c |    6 +
 drivers/gpu/drm/amd/display/dc/basics/logger.c     |   78 +-
 drivers/gpu/drm/amd/display/dc/basics/logger.h     |   37 -
 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c |   10 +-
 drivers/gpu/drm/amd/display/dc/calcs/Makefile      |    2 +-
 .../gpu/drm/amd/display/dc/calcs/dcn_calc_math.c   |   45 +
 .../gpu/drm/amd/display/dc/calcs/dcn_calc_math.h   |   36 +-
 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c   |  224 +-
 drivers/gpu/drm/amd/display/dc/core/dc.c           |  472 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link.c      |   58 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c   |   16 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c |   17 +-
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c  |  111 +-
 drivers/gpu/drm/amd/display/dc/core/dc_stream.c    |   63 +-
 drivers/gpu/drm/amd/display/dc/core/dc_surface.c   |    1 +
 drivers/gpu/drm/amd/display/dc/dc.h                |  141 +-
 drivers/gpu/drm/amd/display/dc/dc_hw_types.h       |    2 +
 drivers/gpu/drm/amd/display/dc/dc_types.h          |    3 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h     |  175 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_ipp.c       |    2 +
 .../gpu/drm/amd/display/dc/dce/dce_link_encoder.c  |  253 +-
 .../gpu/drm/amd/display/dc/dce/dce_link_encoder.h  |   20 +-
 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c |    5 +-
 .../drm/amd/display/dc/dce100/dce100_resource.c    |    2 +-
 .../drm/amd/display/dc/dce100/dce100_resource.h    |    2 +-
 .../drm/amd/display/dc/dce110/dce110_compressor.c  |    2 +-
 .../amd/display/dc/dce110/dce110_hw_sequencer.c    |  332 +-
 .../amd/display/dc/dce110/dce110_hw_sequencer.h    |   11 +-
 .../drm/amd/display/dc/dce110/dce110_resource.c    |   33 +-
 drivers/gpu/drm/amd/display/dc/dcn10/Makefile      |    4 +-
 .../{dcn10_dpp_cm_helper.c => dcn10_cm_common.c}   |    2 +-
 .../{dcn10_dpp_cm_helper.h => dcn10_cm_common.h}   |    4 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c   |  199 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h   |  127 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c    |  263 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c  |  250 +-
 .../dc/dcn10/{dcn10_mem_input.c => dcn10_hubp.c}   |  344 +-
 .../dc/dcn10/{dcn10_mem_input.h => dcn10_hubp.h}   |  139 +-
 .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c  |  486 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_ipp.c   |  189 -
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c   |  215 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.h   |   45 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c  |  100 +-
 .../amd/display/dc/dcn10/dcn10_timing_generator.c  |   15 +
 .../amd/display/dc/dcn10/dcn10_timing_generator.h  |   15 +-
 drivers/gpu/drm/amd/display/dc/dm_services.h       |   47 +-
 drivers/gpu/drm/amd/display/dc/dml/Makefile        |    8 +-
 drivers/gpu/drm/amd/display/dc/dml/dc_features.h   |    2 +
 .../drm/amd/display/dc/dml/display_mode_enums.h    |   56 +-
 .../gpu/drm/amd/display/dc/dml/display_mode_lib.c  |   11 +-
 .../gpu/drm/amd/display/dc/dml/display_mode_lib.h  |    9 +-
 .../drm/amd/display/dc/dml/display_mode_structs.h  |  900 +--
 .../drm/amd/display/dc/dml/display_mode_support.h  |  194 -
 .../gpu/drm/amd/display/dc/dml/display_mode_vba.c  | 6124 ++++++++++++++++++++
 .../gpu/drm/amd/display/dc/dml/display_mode_vba.h  |  598 ++
 .../drm/amd/display/dc/dml/display_rq_dlg_calc.c   | 2457 ++++----
 .../drm/amd/display/dc/dml/display_rq_dlg_calc.h   |  151 +-
 .../amd/display/dc/dml/display_rq_dlg_helpers.c    |  482 +-
 .../amd/display/dc/dml/display_rq_dlg_helpers.h    |   41 +-
 .../gpu/drm/amd/display/dc/dml/display_watermark.c | 1282 ----
 .../gpu/drm/amd/display/dc/dml/display_watermark.h |   98 -
 .../amd/display/dc/dml/dml1_display_rq_dlg_calc.c  | 1905 ++++++
 .../amd/display/dc/dml/dml1_display_rq_dlg_calc.h  |   67 +
 .../gpu/drm/amd/display/dc/dml/dml_common_defs.c   |    5 +-
 .../gpu/drm/amd/display/dc/dml/dml_common_defs.h   |    4 +-
 .../gpu/drm/amd/display/dc/dml/dml_inline_defs.h   |   49 +-
 .../gpu/drm/amd/display/dc/dml/soc_bounding_box.c  |   45 +-
 .../gpu/drm/amd/display/dc/dml/soc_bounding_box.h  |    9 +-
 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c |    8 +-
 drivers/gpu/drm/amd/display/dc/inc/core_status.h   |   15 +-
 drivers/gpu/drm/amd/display/dc/inc/core_types.h    |   16 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h        |  134 +
 drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h       |  105 +
 .../gpu/drm/amd/display/dc/inc/hw/link_encoder.h   |    6 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h  |   11 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h        |   15 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/transform.h  |   57 +
 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h  |   12 +-
 drivers/gpu/drm/amd/display/dc/inc/link_hwss.h     |    4 +
 drivers/gpu/drm/amd/display/dc/inc/resource.h      |    5 +
 drivers/gpu/drm/amd/display/dc/os_types.h          |   40 +
 .../amd/display/dc/virtual/virtual_link_encoder.c  |   13 +-
 .../gpu/drm/amd/display/include/logger_interface.h |   28 +
 drivers/gpu/drm/amd/display/include/logger_types.h |   36 +-
 88 files changed, 13902 insertions(+), 6076 deletions(-)
 rename drivers/gpu/drm/amd/display/dc/dcn10/{dcn10_dpp_cm_helper.c => dcn10_cm_common.c} (99%)
 rename drivers/gpu/drm/amd/display/dc/dcn10/{dcn10_dpp_cm_helper.h => dcn10_cm_common.h} (97%)
 rename drivers/gpu/drm/amd/display/dc/dcn10/{dcn10_mem_input.c => dcn10_hubp.c} (73%)
 rename drivers/gpu/drm/amd/display/dc/dcn10/{dcn10_mem_input.h => dcn10_hubp.h} (85%)
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dml/display_mode_support.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dml/display_watermark.c
 delete mode 100644 drivers/gpu/drm/amd/display/dc/dml/display_watermark.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1508620979-2628-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org

#2 lore raw

Am 21.10.2017 23:22, schrieb Alex Deucher:

Quoted 11 lines

Hi Dave,

Last batch of new stuff for DC. Highlights:
- Fix some memory leaks
- S3 fixes
- Hotplug fixes
- Fix some CX multi-display issues
- MST fixes
- DML updates from the hw team
- Various code cleanups
- Misc bug fixes

Now this tree has the same fan regression as 'amd-staging-drm-next' startet with 0944c350c8eddf4064e7abb881dd245032fdfa23.

Look here:
[amd-staging-drm-next] regression - no fan info (sensors) on RX580
https://lists.freedesktop.org/archives/amd-gfx/2017-October/014065.html

Second:
KDE's greeter 'kdm_greet' (login screen went into dpms) and KDE's 'screen blank' (energy saving / dpms off) never came back. All I can do is a clean reboot. So I have to disable all 'dpms'. But I could attach gdb remotely on it.
'kdm_greet' hang in 'poll'.
Nothing alarming in 'dmesg' and 'Xorg.0.log'. (Both available taken from 'amd-staging-drm-next' if needed).

Cheers,
Dieter
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): da505e834d1a47cf9a7abcce33545fd9-0hun7QTegEsDD4udEopG9Q@public.gmane.org

#4 lore raw

Am 22.10.2017 23:48, schrieb Dieter Nützel:

Quoted 20 lines

Am 21.10.2017 23:22, schrieb Alex Deucher:

Quoted 11 lines

Hi Dave,

Last batch of new stuff for DC. Highlights:
- Fix some memory leaks
- S3 fixes
- Hotplug fixes
- Fix some CX multi-display issues
- MST fixes
- DML updates from the hw team
- Various code cleanups
- Misc bug fixes

Now this tree has the same fan regression as 'amd-staging-drm-next' startet with 0944c350c8eddf4064e7abb881dd245032fdfa23.

Look here:
[amd-staging-drm-next] regression - no fan info (sensors) on RX580
https://lists.freedesktop.org/archives/amd-gfx/2017-October/014065.html

Quoted 8 lines

Second:
KDE's greeter 'kdm_greet' (login screen went into dpms) and KDE's 'screen blank' (energy saving / dpms off) never came back. All I can do is a clean reboot. So I have to disable all 'dpms'. But I could attach gdb remotely on it.
'kdm_greet' hang in 'poll'.
Nothing alarming in 'dmesg' and 'Xorg.0.log'. (Both available taken from 'amd-staging-drm-next' if needed).

Hello Alex and Rex,

I've found good hint from Jan (randomsalad) on phoronix for the 'screen blank' (monitor standby mode):
https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/984483-amdgpu-dc-gets-a-final-batch-of-changes-before-linux-4-15?p=984555#post984555

My Reply:
https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/984483-amdgpu-dc-gets-a-final-batch-of-changes-before-linux-4-15?p=984581#post984581

I can swear, that I could 'return' one time (the first time, maybe due to only warm reboot) on 'drm-next-4.15-dc-wip' directly from within KDE session with replugging the video cable, but for all later tests on both kernels I have to blindly switching back to login screen (kdm_greet) and then replugging the video cable.

For me these regression started with 'amd-staging-drm-next' much earlier than with the latest commit.

Dieter
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#5 lore raw

Hello Alex & Rex,

any progress?
The 'screen blank' (monitor standby mode) is really annoying.

Thanks,
Dieter

Am 23.10.2017 03:03, schrieb Dieter Nützel:

Quoted 45 lines

Am 22.10.2017 23:48, schrieb Dieter Nützel:

Quoted 20 lines

Am 21.10.2017 23:22, schrieb Alex Deucher:

Quoted 11 lines

Hi Dave,

Last batch of new stuff for DC. Highlights:
- Fix some memory leaks
- S3 fixes
- Hotplug fixes
- Fix some CX multi-display issues
- MST fixes
- DML updates from the hw team
- Various code cleanups
- Misc bug fixes

Now this tree has the same fan regression as 'amd-staging-drm-next' startet with 0944c350c8eddf4064e7abb881dd245032fdfa23.

Look here:
[amd-staging-drm-next] regression - no fan info (sensors) on RX580
https://lists.freedesktop.org/archives/amd-gfx/2017-October/014065.html

Quoted 8 lines

Second:
KDE's greeter 'kdm_greet' (login screen went into dpms) and KDE's 'screen blank' (energy saving / dpms off) never came back. All I can do is a clean reboot. So I have to disable all 'dpms'. But I could attach gdb remotely on it.
'kdm_greet' hang in 'poll'.
Nothing alarming in 'dmesg' and 'Xorg.0.log'. (Both available taken from 'amd-staging-drm-next' if needed).

Hello Alex and Rex,

I've found good hint from Jan (randomsalad) on phoronix for the 'screen blank' (monitor standby mode):
https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/984483-amdgpu-dc-gets-a-final-batch-of-changes-before-linux-4-15?p=984555#post984555

My Reply:
https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/984483-amdgpu-dc-gets-a-final-batch-of-changes-before-linux-4-15?p=984581#post984581

I can swear, that I could 'return' one time (the first time, maybe due to only warm reboot) on 'drm-next-4.15-dc-wip' directly from within KDE session with replugging the video cable, but for all later tests on both kernels I have to blindly switching back to login screen (kdm_greet) and then replugging the video cable.

Quoted 8 lines

For me these regression started with 'amd-staging-drm-next' much earlier than with the latest commit.

Dieter
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
Quoted 4 lines · Dieter Nützel

Hello Alex & Rex,

any progress?
The 'screen blank' (monitor standby mode) is really annoying.

Does this patch help?
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=amd-staging-drm-next&id=ddabbf65aae36e21b4c79354940f80eae6c36104

Alex

Quoted 65 lines

Thanks,
Dieter

Am 23.10.2017 03:03, schrieb Dieter Nützel:

Quoted 60 lines

Am 22.10.2017 23:48, schrieb Dieter Nützel:

Quoted 23 lines

Am 21.10.2017 23:22, schrieb Alex Deucher:

Quoted 12 lines

Hi Dave,

Last batch of new stuff for DC. Highlights:
- Fix some memory leaks
- S3 fixes
- Hotplug fixes
- Fix some CX multi-display issues
- MST fixes
- DML updates from the hw team
- Various code cleanups
- Misc bug fixes

Now this tree has the same fan regression as 'amd-staging-drm-next' startet with 0944c350c8eddf4064e7abb881dd245032fdfa23.

Look here:
[amd-staging-drm-next] regression - no fan info (sensors) on RX580
https://lists.freedesktop.org/archives/amd-gfx/2017-October/014065.html

Quoted 8 lines

Second:
KDE's greeter 'kdm_greet' (login screen went into dpms) and KDE's 'screen blank' (energy saving / dpms off) never came back. All I can do is a clean reboot. So I have to disable all 'dpms'. But I could attach gdb remotely on it.
'kdm_greet' hang in 'poll'.
Nothing alarming in 'dmesg' and 'Xorg.0.log'. (Both available taken from 'amd-staging-drm-next' if needed).

Hello Alex and Rex,

I've found good hint from Jan (randomsalad) on phoronix for the 'screen blank' (monitor standby mode):

https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/984483-amdgpu-dc-gets-a-final-batch-of-changes-before-linux-4-15?p=984555#post984555

My Reply:

https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/984483-amdgpu-dc-gets-a-final-batch-of-changes-before-linux-4-15?p=984581#post984581

I can swear, that I could 'return' one time (the first time, maybe due to only warm reboot) on 'drm-next-4.15-dc-wip' directly from within KDE session with replugging the video cable, but for all later tests on both kernels I have to blindly switching back to login screen (kdm_greet) and then replugging the video cable.

For me these regression started with 'amd-staging-drm-next' much earlier than with the latest commit.

Dieter
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

A message that is not in the archive (sent off-list or not yet received): CADnq5_NzMHaFFrmC3M9hOhiQUnM-xptgKkA-03rLNkJqH8hfQA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#8 lore raw

Am 26.10.2017 19:26, schrieb Alex Deucher:

Quoted 10 lines · Dieter Nützel
Quoted 4 lines

Hello Alex & Rex,

any progress?
The 'screen blank' (monitor standby mode) is really annoying.

Does this patch help?
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=amd-staging-drm-next&id=ddabbf65aae36e21b4c79354940f80eae6c36104

Alex

Yes, it seems so. Many thanks to Jerry for this fix.
I've tested it with latest amd-staging-drm-next #4ce527eb8bb3 on my Polaris 20. Both cases (kdm_greet and 'screen blank') are solved. W'll apply it on drm-next-4.15-dc, too.

Side note:
HDMI audio is _gone_ after logout and relogin.
Missing reinitialization?

Next:
Fix fan speed...

Thank you very much!
Dieter

Quoted 57 lines
Quoted 57 lines

Thanks,
Dieter

Am 23.10.2017 03:03, schrieb Dieter Nützel:

Quoted 52 lines

Am 22.10.2017 23:48, schrieb Dieter Nützel:

Quoted 23 lines

Am 21.10.2017 23:22, schrieb Alex Deucher:

Quoted 12 lines

Hi Dave,

Last batch of new stuff for DC. Highlights:
- Fix some memory leaks
- S3 fixes
- Hotplug fixes
- Fix some CX multi-display issues
- MST fixes
- DML updates from the hw team
- Various code cleanups
- Misc bug fixes

Now this tree has the same fan regression as 'amd-staging-drm-next' startet with 0944c350c8eddf4064e7abb881dd245032fdfa23.

Look here:
[amd-staging-drm-next] regression - no fan info (sensors) on RX580
https://lists.freedesktop.org/archives/amd-gfx/2017-October/014065.html

Quoted 8 lines

Second:
KDE's greeter 'kdm_greet' (login screen went into dpms) and KDE's 'screen blank' (energy saving / dpms off) never came back. All I can do is a clean reboot. So I have to disable all 'dpms'. But I could attach gdb remotely on it.
'kdm_greet' hang in 'poll'.
Nothing alarming in 'dmesg' and 'Xorg.0.log'. (Both available taken from 'amd-staging-drm-next' if needed).

Hello Alex and Rex,

I've found good hint from Jan (randomsalad) on phoronix for the 'screen blank' (monitor standby mode):

https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/984483-amdgpu-dc-gets-a-final-batch-of-changes-before-linux-4-15?p=984555#post984555

My Reply:

https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/984483-amdgpu-dc-gets-a-final-batch-of-changes-before-linux-4-15?p=984581#post984581

I can swear, that I could 'return' one time (the first time, maybe due to only warm reboot) on 'drm-next-4.15-dc-wip' directly from within KDE session with replugging the video cable, but for all later tests on both kernels I have to blindly switching back to login screen (kdm_greet) and then replugging the video cable.

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

For me these regression started with 'amd-staging-drm-next' much earlier than with the latest commit.

Dieter
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx