1. 28 Jul, 2022 18 commits
  2. 27 Jul, 2022 1 commit
  3. 26 Jul, 2022 18 commits
  4. 25 Jul, 2022 3 commits
    • Rodrigo Siqueira's avatar
      drm/amd/display: Reduce stack size in the mode support function · 1b54a012
      Rodrigo Siqueira authored
      When we use the allmodconfig option we see the following error:
      
      drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c: In function 'dml32_ModeSupportAndSystemConfigurationFull':
      drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c:3799:1: error: the frame size of 2464 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
        3799 | } // ModeSupportAndSystemConfigurationFull
      
      This commit fixes this issue by moving part of the mode support
      operation from ModeSupportAndSystemConfigurationFull to a dedicated
      function.
      
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Tested-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      1b54a012
    • Anthony Koo's avatar
      drm/amd/display: 3.2.196 · d5871570
      Anthony Koo authored
      This version brings along following fixes:
      
      - Copy crc_skip_count when duplicating CRTC state
      - Add debug option for idle optimizations on cursor updates
      - Disable MPC split for DCN32/321
      - Add missing ODM 2:1 policy logic
      - Update DCN32 and DCN321 SR latencies
      - Add reinstate dram in the FPO logic
      - Add dc_ctx to link_enc_create() parameters
      - Cache cursor when cursor exceeds 64x64
      - Add support for manual DMUB FAMS trigger
      - Fix dpstreamclk programming
      - Add missing AUDIO_DTO_SEL reg field
      - Add OTG/ODM functions
      - Use correct clock source constructor for DCN314
      - Use correct DTO_SRC_SEL for 128b/132b encoding
      - Add pixel rate div calcs and programming
      - Remove FPU flags from DCN30 Makefile
      - Create patch bounding box function for isolate FPU
      - Move mclk calculation function to DML
      - Remove FPU operations from dcn201 resources
      - Fallback to SW cursor if SubVP + cursor too big
      - Drop unnecessary FPU flags on dcn302 files
      - Reboot while unplug hdcp enabled dp from mst hub
      - Reset pipe count when iterating for DET override
      - Calculate MALL cache lines based on Mblks required
      - Fix two MPO videos in single display ODM combine mode
      - Guard against zero memory channels
      - Updates SubVP + SubVP DRR cases updates
      - Fix OPTC function pointers for DCN314
      - Add enable/disable FIFO callbacks to stream setup
      - Avoid MPC infinite loop
      Acked-by: default avatarAlex Hung <alex.hung@amd.com>
      Signed-off-by: default avatarAnthony Koo <anthony.koo@amd.com>
      Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      d5871570
    • Leo Li's avatar
      drm/amd/display: Copy crc_skip_count when duplicating CRTC state · c13423c6
      Leo Li authored
      [Why]
      
      crc_skip_count is used to track how many frames to skip to allow the OTG
      CRC engine to "warm up" before it outputs correct CRC values.
      Experimentally, this seems to be 2 frames.
      
      When duplicating CRTC states, this value was not copied to the
      duplicated state. Therefore, when this state is committed, we will
      needlessly wait 2 frames before outputing CRC values. Even if the CRC
      engine is already warmed up.
      
      [How]
      
      Copy the crc_skip_count as part of dm_crtc_duplicate_state.
      Acked-by: default avatarAlex Hung <alex.hung@amd.com>
      Signed-off-by: default avatarLeo Li <sunpeng.li@amd.com>
      Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      c13423c6