1. May 21, 2021
    • David M Nieto's avatar
      drm/amdgpu/pm: Update metrics table (v2) · 0b7db431
      David M Nieto authored
      
      
      v2: removed static dpm and frequency ranges from table
      
      expand metrics table with voltages and frequency ranges
      
      Signed-off-by: default avatarDavid M Nieto <david.nieto@amd.com>
      Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      0b7db431
    • Evan Quan's avatar
      drm/amd/pm: correct MGpuFanBoost setting · b804a75d
      Evan Quan authored
      No MGpuFanBoost setting for those ASICs which do not support it.
      Otherwise, it may breaks their fan control feature.
      
      Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1580
      
      
      
      Signed-off-by: default avatarEvan Quan <evan.quan@amd.com>
      Reviewed-by: default avatarKenneth Feng <kenneth.feng@amd.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      b804a75d
    • Aurabindo Pillai's avatar
      drm/amd/display: take dc_lock in short pulse handler only · d2aa1356
      Aurabindo Pillai authored
      [Why]
      Conditions that end up modifying the global dc state must be locked.
      However, during mst allocate payload sequence, lock is already taken.
      With StarTech 1.2 DP hub, we get an HPD RX interrupt for a reason other
      than to indicate down reply availability right after sending payload
      allocation. The handler again takes dc lock before calling the
      dc's HPD RX handler. Due to this contention, the DRM thread which waits
      for MST down reply never gets a chance to finish its waiting
      successfully and ends up timing out. Once the lock is released, the hpd
      rx handler fires and goes ahead to read from the MST HUB, but now its
      too late and the HUB doesnt lightup all displays since DRM lacks error
      handling when payload allocation fails.
      
      [How]
      Take lock only if there is a change in link status or if automated test
      pattern bit is set. The latter fixes the null pointer dereference when
      running certain DP Link Layer Compliance test.
      
      Fixes: c8ea79a8
      
       ("drm/amd/display: NULL pointer error during compliance test")
      
      Signed-off-by: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
      Reviewed-by: default avatarNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      d2aa1356
    • Dave Airlie's avatar
      Merge tag 'amd-drm-next-5.14-2021-05-21' of... · 9a91e5e0
      Dave Airlie authored
      Merge tag 'amd-drm-next-5.14-2021-05-21' of https://gitlab.freedesktop.org/agd5f/linux
      
       into drm-next
      
      amd-drm-next-5.14-2021-05-21:
      
      amdgpu:
      - RAS fixes
      - SR-IOV fixes
      - More BO management cleanups
      - Aldebaran fixes
      - Display fixes
      - Support for new GPU, Beige Goby
      - Backlight fixes
      
      amdkfd:
      - RAS fixes
      - DMA mapping fixes
      - HMM SVM fixes
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210521045743.4047-1-alexander.deucher@amd.com
      9a91e5e0
    • Dave Airlie's avatar
      Merge tag 'amd-drm-next-5.14-2021-05-19' of... · c99c4d0c
      Dave Airlie authored
      Merge tag 'amd-drm-next-5.14-2021-05-19' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
      
      amd-drm-next-5.14-2021-05-19:
      
      amdgpu:
      - Aldebaran updates
      - More LTTPR display work
      - Vangogh updates
      - SDMA 5.x GCR fixes
      - RAS fixes
      - PCIe ASPM support
      - Modifier fixes
      - Enable TMZ on Renoir
      - Buffer object code cleanup
      - Display overlay fixes
      - Initial support for multiple eDP panels
      - Initial SR-IOV support for Aldebaran
      - DP link training refactor
      - Misc code cleanups and bug fixes
      - SMU regression fixes for variable sized arrays
      - MAINTAINERS fixes for amdgpu
      
      amdkfd:
      - Initial SR-IOV support for Aldebaran
      - Topology fixes
      - Initial HMM SVM support
      - Misc code cleanups and bug fixes
      
      radeon:
      - Misc code cleanups and bug fixes
      - SMU regression fixes for variable sized arrays
      - Flickering fix for Oland with multiple 4K displays
      
      UAPI:
      - amdgpu: Drop AMDGPU_GEM_CREATE_SHADOW flag.
        This was always a kernel internal flag and userspace use of it has always been blocked.
        It's no longer needed so remove it.
      - amdkgd: HMM SVM support
        Overview: https://patchwork.freedesktop.org/series/85562/
        Porposed userspace: https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/tree/fxkamd/hmm-wip
      
      
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210520031258.231896-1-alexander.deucher@amd.com
      c99c4d0c
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2021-05-19-1' of... · 2ba04785
      Dave Airlie authored
      Merge tag 'drm-intel-next-2021-05-19-1' of git://anongit.freedesktop.org/drm/drm-intel
      
       into drm-next
      
      Core Changes:
      
      - drm: Rename DP_PSR_SELECTIVE_UPDATE to better mach eDP spec (Jose).
      
      Driver Changes:
      
      - Display plane clock rates fixes and improvements (Ville).
      - Uninint DMC FW loader state during shutdown (Imre).
      - Convert snprintf to sysfs_emit (Xuezhi).
      - Fix invalid access to ACPI _DSM objects (Takashi).
      - A big refactor around how i915 addresses the graphics
        and display IP versions. (Matt, Lucas).
      - Backlight fix (Lyude).
      - Display watermark and DBUF fixes (Ville).
      - HDCP fix (Anshuman).
      - Improve cases where display is not available (Jose).
      - Defeature PSR2 for RKL and ALD-S (Jose).
      - VLV DSI panel power fixes and improvements (Hans).
      - display-12 workaround (Jose).
      - Fix modesetting (Imre).
      - Drop redundant address-of op before lttpr_common_caps array (Imre).
      - Fix compiler checks (Jose, Jason).
      - GLK display fixes (Ville).
      - Fix error code returns (Dan).
      - eDP novel: back again to slow and wide link training everywhere (Kai-Heng).
      - Abstract DMC FW path (Rodrigo).
      - Preparation and changes for upcoming
        XeLPD display IP (Jose, Matt, Ville, Juha-Pekka, Animesh).
      - Fix comment typo in DSI code (zuoqilin).
      - Simplify CCS and UV plane alignment handling (Imre).
      - PSR Fixes on TGL (Gwan-gyeong, Jose).
      - Add intel_dp_hdcp.h and rename init (Jani).
      - Move crtc and dpll declarations around (Jani).
      - Fix pre-skl DP AUX precharge length (Ville).
      - Remove stray newlines from random files (Ville).
      - crtc->index and intel_crtc+drm_crtc pointer clean-up (Ville).
      - Add frontbuffer tracking tracepoints (Ville).
      - ADL-S PCI ID updates (Anand).
      - Use unique backlight device names (Jani).
      - A few clean-ups on i915/audio (Jani).
      - Use intel_framebuffer instead of drm one on intel_fb functions (Imre).
      - Add the missing MC CCS/XYUV8888 format support on display >= 12 (Imre).
      - Nuke display error state (Ville).
      - ADL-P initial enablement patches
        starting to land (Clint, Imre, Jose, Umesh, Vandita, Mika).
      - Display clean-up around VBT and the strap bits (Lucas).
      - Try YCbCr420 color when RGB fails (Werner).
      - More PSR fixes and improvements (Jose).
      - Other generic display code clean-up (Jose, Ville).
      - Use correct downstream caps for check Src-Ctl mode for PCON (Ankit).
      - Disable HiZ Raw Stall Optimization on broken gen7 (Simon).
      
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/YKVioeu0JkUAlR7y@intel.com
      2ba04785
  2. May 20, 2021