1. 22 Mar, 2023 40 commits
    • Wesley Chalmers's avatar
      drm/amd/display: Make DCN32 3dlut function available to future DCNs · 28e5c9d6
      Wesley Chalmers authored
      [Why & How]
      Make DCN32 3dlut function non-static and thus
      available for future DCNs.
      Reviewed-by: default avatarChris Park <Chris.Park@amd.com>
      Acked-by: default avatarQingqing Zhuo <qingqing.zhuo@amd.com>
      Signed-off-by: default avatarWesley Chalmers <Wesley.Chalmers@amd.com>
      Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      28e5c9d6
    • YiPeng Chai's avatar
      drm/amdgpu: resume ras for gfx v11_0_3 during reset on SRIOV · 28606c4e
      YiPeng Chai authored
      Gfx v11_0_3 supports ras on SRIOV, so need to resume ras
      during reset.
      Signed-off-by: default avatarYiPeng Chai <YiPeng.Chai@amd.com>
      Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      28606c4e
    • YiPeng Chai's avatar
      drm/amdgpu: reinit mes ip block during reset on SRIOV · ec64350d
      YiPeng Chai authored
      Reinit mes ip block during reset on SRIOV.
      Signed-off-by: default avatarYiPeng Chai <YiPeng.Chai@amd.com>
      Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      ec64350d
    • YiPeng Chai's avatar
      drm/amdgpu: enable ras for mp0 v13_0_10 on SRIOV · fe120b9f
      YiPeng Chai authored
      Enable ras for mp0 v13_0_10 on SRIOV.
      Signed-off-by: default avatarYiPeng Chai <YiPeng.Chai@amd.com>
      Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      fe120b9f
    • Kai-Heng Feng's avatar
      drm/amdgpu/nv: Apply ASPM quirk on Intel ADL + AMD Navi · 3ad5dcfe
      Kai-Heng Feng authored
      S2idle resume freeze can be observed on Intel ADL + AMD WX5500. This is
      caused by commit 0064b0ce ("drm/amd/pm: enable ASPM by default").
      
      The root cause is still not clear for now.
      
      So extend and apply the ASPM quirk from commit e02fe3bc
      ("drm/amdgpu: vi: disable ASPM on Intel Alder Lake based systems"), to
      workaround the issue on Navi cards too.
      
      Fixes: 0064b0ce ("drm/amd/pm: enable ASPM by default")
      Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2458Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarKai-Heng Feng <kai.heng.feng@canonical.com>
      Reviewed-by: default avatarMario Limonciello <mario.limonciello@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      3ad5dcfe
    • Alex Hung's avatar
      drm/amd/display: remove outdated 8bpc comments · 52b29307
      Alex Hung authored
      [Why]
      The commit c76e483c ("drm/amd/display: Don't restrict bpc to 8 bpc")
      removes the historical 8bpc dependency and sets max_bpc to 16.
      
      [How]
      The comment that states "8bpc for non-edp" needs to be removed as well.
      Reviewed-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
      Acked-by: default avatarQingqing Zhuo <qingqing.zhuo@amd.com>
      Signed-off-by: default avatarAlex Hung <alex.hung@amd.com>
      Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      52b29307
    • Lee Jones's avatar
      drm/amd/display/dc/core/dc_stat: Convert a couple of doc headers to kerneldoc format · 97cbcae3
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stat.c:38: warning: Cannot understand  *****************************************************************************
       drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stat.c:76: warning: Cannot understand  *****************************************************************************
      
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Leo Li <sunpeng.li@amd.com>
      Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Mustapha Ghaddar <mghaddar@amd.com>
      Cc: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
      Cc: Jasdeep Dhillon <jdhillon@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarHamza Mahfooz <hamza.mahfooz@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      97cbcae3
    • Saaem Rizvi's avatar
      drm/amd/display: Implement workaround for writing to OTG_PIXEL_RATE_DIV register · 74fa4c81
      Saaem Rizvi authored
      [Why and How]
      Current implementation requires FPGA builds to take a different
      code path from DCN32 to write to OTG_PIXEL_RATE_DIV. Now that
      we have a workaround to write to OTG_PIXEL_RATE_DIV register without
      blanking display on hotplug on DCN32, we can allow the code paths for
      FPGA to be exactly the same allowing for more consistent
      testing.
      Reviewed-by: default avatarAlvin Lee <Alvin.Lee2@amd.com>
      Acked-by: default avatarQingqing Zhuo <qingqing.zhuo@amd.com>
      Signed-off-by: default avatarSaaem Rizvi <SyedSaaem.Rizvi@amd.com>
      Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      74fa4c81
    • Hawking Zhang's avatar
      drm/amdgpu: Initialize umc ras callback · cfa07598
      Hawking Zhang authored
      Fix a coding error which results to null interrupt
      handler for umc ras.
      Signed-off-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
      Reviewed-by: default avatarStanley Yang <Stanley.Yang@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      cfa07598
    • Lee Jones's avatar
      drm/amd/display/dc/link/link_detection: Demote a couple of kerneldoc abuses · 1a593aa0
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_detection.c:877: warning: Function parameter or member 'link' not described in 'detect_link_and_local_sink'
       drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_detection.c:877: warning: Function parameter or member 'reason' not described in 'detect_link_and_local_sink'
       drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_detection.c:1232: warning: Function parameter or member 'link' not described in 'dc_link_detect_connection_type'
      
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Leo Li <sunpeng.li@amd.com>
      Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Lee Jones <lee@kernel.org>
      Cc: Wenjing Liu <wenjing.liu@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      1a593aa0
    • Lee Jones's avatar
      drm/amd/display/dc/dce60/Makefile: Fix previous attempt to silence known override-init warnings · 4082b9f5
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:157:21: note: in expansion of macro ‘mmCRTC1_DCFE_MEM_LIGHT_SLEEP_CNTL’
       drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.h:170:9: note: in expansion of macro ‘SRI’
       drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:183:17: note: in expansion of macro ‘XFM_COMMON_REG_LIST_DCE60’
       drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:188:17: note: in expansion of macro ‘transform_regs’
       drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_d.h:722:43: warning: initialized field overwritten [-Woverride-init]
       drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:157:21: note: in expansion of macro ‘mmCRTC2_DCFE_MEM_LIGHT_SLEEP_CNTL’
       drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_transform.h:170:9: note: in expansion of macro ‘SRI’
       drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:183:17: note: in expansion of macro ‘XFM_COMMON_REG_LIST_DCE60’
       drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:189:17: note: in expansion of macro ‘transform_regs’
       drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_6_0_d.h:722:43: note: (near initialization for ‘xfm_regs[2].DCFE_MEM_LIGHT_SLEEP_CN
      
      [100 lines snipped for brevity]
      
      Fixes: ceb3cf47 ("drm/amd/display/dc/dce60/Makefile: Ignore -Woverride-init warning")
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Leo Li <sunpeng.li@amd.com>
      Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Mauro Rossi <issor.oruam@gmail.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      4082b9f5
    • Lee Jones's avatar
      drm/amd/display/dc/link/protocols/link_dp_capability: Demote non-compliant kerneldoc · 16a7004a
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c:2190: warning: Function parameter or member 'link' not described in 'dc_link_is_dp_sink_present'
      
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Leo Li <sunpeng.li@amd.com>
      Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      16a7004a
    • Lee Jones's avatar
      drm/amd/display/dc/link/protocols/link_dp_capability: Remove unused variable... · 14af9179
      Lee Jones authored
      drm/amd/display/dc/link/protocols/link_dp_capability: Remove unused variable and mark another as __maybe_unused
      
      ‘ds_port’ is clearly not used anywhere and ‘result_write_min_hblank’ is
      only utilised when debugging is enabled.  The alternative would be to
      allocate the variable under the same clause as the debugging code, but
      that would become very messy, very quickly.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c: In function ‘dp_wa_power_up_0010FA’:
       drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c:280:42: warning: variable ‘ds_port’ set but not used [-Wunused-but-set-variable]
       drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c: In function ‘dpcd_set_source_specific_data’:
       drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_capability.c:1296:32: warning: variable ‘result_write_min_hblank’ set but not used [-Wunused-but-set-variable]
      
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Leo Li <sunpeng.li@amd.com>
      Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Wenjing Liu <wenjing.liu@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      14af9179
    • Lee Jones's avatar
      drm/amd/display/dc/link/protocols/link_dp_training: Remove set but unused variable 'result' · 7afe3521
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_training.c: In function ‘perform_link_training_with_retries’:
       drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_training.c:1586:38: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
      
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Leo Li <sunpeng.li@amd.com>
      Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Wenjing Liu <wenjing.liu@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      7afe3521
    • Lee Jones's avatar
      drm/amd/display/dc/link/link_detection: Remove unused variable 'status' · c5401151
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_detection.c: In function ‘query_hdcp_capability’:
       drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_detection.c:501:42: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
      
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Leo Li <sunpeng.li@amd.com>
      Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Wenjing Liu <wenjing.liu@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      c5401151
    • Lee Jones's avatar
      drm/amd/display/dc/dce/dmub_psr: Demote kerneldoc abuse · b8c6b225
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:257: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
      
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Leo Li <sunpeng.li@amd.com>
      Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: David Zhang <dingchen.zhang@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      b8c6b225
    • Lee Jones's avatar
      drm/amd/display/amdgpu_dm/amdgpu_dm_helpers: Move defines out to where they are actually used · bc517825
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
        drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h: At top level:
        drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:143:22:
            warning: ‘SYNAPTICS_DEVICE_ID’ defined but not used [-Wunused-const-variable=]
        drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:140:22:
            warning: ‘DP_VGA_LVDS_CONVERTER_ID_3’ defined but not used [-Wunused-const-variable=]
        drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:138:22:
            warning: ‘DP_VGA_LVDS_CONVERTER_ID_2’ defined but not used [-Wunused-const-variable=]
        drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:133:22:
            warning: ‘DP_SINK_DEVICE_STR_ID_2’ defined but not used [-Wunused-const-variable=]
        drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:132:22:
            warning: ‘DP_SINK_DEVICE_STR_ID_1’ defined but not used [-Wunused-const-variable=]
      
      [snip 400 similar lines brevity]
      
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Leo Li <sunpeng.li@amd.com>
      Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      bc517825
    • Lee Jones's avatar
      drm/amd/pm/swsmu/smu11/vangogh_ppt: Provide a couple of missing parameter descriptions · 63d99a34
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:2381: warning: Function parameter or member 'residency' not described in 'vangogh_get_gfxoff_residency'
       drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/vangogh_ppt.c:2399: warning: Function parameter or member 'entrycount' not described in 'vangogh_get_gfxoff_entrycount'
      
      Cc: Evan Quan <evan.quan@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Li Ma <li.ma@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      63d99a34
    • Lee Jones's avatar
      drm/amd/amdgpu/amdgpu_vce: Provide description for amdgpu_vce_validate_bo()'s 'p' param · a37558e6
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:599: warning: Function parameter or member 'p' not described in 'amdgpu_vce_validate_bo'
      
      v2: reword (Alex)
      
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-media@vger.kernel.org
      Cc: linaro-mm-sig@lists.linaro.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      a37558e6
    • Lee Jones's avatar
      drm/amd/amdgpu/amdgpu_mes: Ensure amdgpu_bo_create_kernel()'s return value is checked · 0b9ff428
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c: In function ‘amdgpu_mes_ctx_alloc_meta_data’:
       drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c:1099:13: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
      
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: Jack Xiao <Jack.Xiao@amd.com>
      Cc: Hawking Zhang <Hawking.Zhang@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-media@vger.kernel.org
      Cc: linaro-mm-sig@lists.linaro.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      0b9ff428
    • Lee Jones's avatar
      drm/amd/amdgpu/ih_v6_0: Repair misspelling and provide descriptions for 'ih' · 25a75f56
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/ih_v6_0.c:392: warning: Function parameter or member 'ih' not described in 'ih_v6_0_get_wptr'
       drivers/gpu/drm/amd/amdgpu/ih_v6_0.c:432: warning: Function parameter or member 'ih' not described in 'ih_v6_0_irq_rearm'
       drivers/gpu/drm/amd/amdgpu/ih_v6_0.c:458: warning: Function parameter or member 'ih' not described in 'ih_v6_0_set_rptr'
      
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Hawking Zhang <Hawking.Zhang@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      25a75f56
    • Lee Jones's avatar
      drm/amd/amdgpu/gmc_v11_0: Provide a few missing param descriptions relating to hubs and flushes · 3e4bc662
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c:282: warning: Function parameter or member 'vmhub' not described in 'gmc_v11_0_flush_gpu_tlb'
       drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c:282: warning: Function parameter or member 'flush_type' not described in 'gmc_v11_0_flush_gpu_tlb'
       drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c:322: warning: Function parameter or member 'flush_type' not described in 'gmc_v11_0_flush_gpu_tlb_pasid'
       drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c:322: warning: Function parameter or member 'all_hub' not described in 'gmc_v11_0_flush_gpu_tlb_pasid'
      
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      3e4bc662
    • Lee Jones's avatar
      drm/amd/amdgpu/amdgpu_vm_pt: Supply description for amdgpu_vm_pt_free_dfs()'s unlocked param · 4caee043
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c:683: warning: Function parameter or member 'unlocked' not described in 'amdgpu_vm_pt_free_dfs'
      
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-media@vger.kernel.org
      Cc: linaro-mm-sig@lists.linaro.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      4caee043
    • Lee Jones's avatar
      drm/amd/amdgpu/amdgpu_ucode: Remove unused function ‘amdgpu_ucode_print_imu_hdr’ · f5211c5d
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c:129:6: warning: no previous prototype for ‘amdgpu_ucode_print_imu_hdr’ [-Wmissing-prototypes]
      
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      f5211c5d
    • Lee Jones's avatar
      drm/amd/amdgpu/amdgpu_device: Provide missing kerneldoc entry for 'reset_context' · 80bd2de1
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:5152:
         warning: Function parameter or member 'reset_context' not described in 'amdgpu_device_gpu_recover'
      
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-media@vger.kernel.org
      Cc: linaro-mm-sig@lists.linaro.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      80bd2de1
    • Lee Jones's avatar
      drm/amd/display/dc/dc_hdmi_types: Move string definition to the only file it's used in · f825fead
      Lee Jones authored
      Fixes the following W=1 kernel build warning(s):
      
       drivers/gpu/drm/amd/amdgpu/../display/dc/dc_hdmi_types.h:53:22:
         warning: ‘dp_hdmi_dongle_signature_str’ defined but not used [-Wunused-const-variable=]
      
      [snipped 400 similar lines for brevity]
      
      Cc: Harry Wentland <harry.wentland@amd.com>
      Cc: Leo Li <sunpeng.li@amd.com>
      Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: "Christian König" <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: David Airlie <airlied@gmail.com>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Wenjing Liu <wenjing.liu@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarLee Jones <lee@kernel.org>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      f825fead
    • Jane Jian's avatar
      drm/amdgpu/jpeg: enable jpeg v4_0 for sriov · bf35dbc1
      Jane Jian authored
      - skip direct jpeg registers read&write since it is not allowed
      - reset Doorbell range layout for sriov
      Signed-off-by: default avatarJane Jian <Jane.Jian@amd.com>
      Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      bf35dbc1
    • Bill Liu's avatar
      drm/amdgpu: Adding CAP firmware initialization · 3cd658de
      Bill Liu authored
      Added CAP firmware initialization for PSP v13.0.10 under psp_init_sriov_microcode
      Signed-off-by: default avatarBill Liu <Bill.Liu@amd.com>
      Reviewed-by: default avatarMonk Liu <monk.liu@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      3cd658de
    • Jiapeng Chong's avatar
      drm/amd/display: Remove the unused function link_timing_bandwidth_kbps() · 7d67285e
      Jiapeng Chong authored
      The function link_timing_bandwidth_kbps is defined in the
      link_validation.c file, but not called elsewhere, so remove this unused
      function.
      
      drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_validation.c:258:10: warning: no previous prototype for ‘link_timing_bandwidth_kbps’.
      Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
      Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4547Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
      Signed-off-by: default avatarHamza Mahfooz <hamza.mahfooz@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      7d67285e
    • Jiapeng Chong's avatar
      drm/amd/display: make is_synaptics_cascaded_panamera static · 6091693a
      Jiapeng Chong authored
      This symbol is not used outside of amdgpu_dm_mst_types.c, so marks it
      static.
      
      drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:211:6: warning: no previous prototype for ‘is_synaptics_cascaded_panamera’.
      Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
      Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4548Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
      Signed-off-by: default avatarHamza Mahfooz <hamza.mahfooz@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      6091693a
    • Hans de Goede's avatar
      drm/amd/display/amdgpu_dm: Refactor register_backlight_device() · ceb4a561
      Hans de Goede authored
      Refactor register_backlight_device():
      
      1) Turn the connector-type + signal check into an early exit
      condition to avoid the indentation level of the rest of the code
      
      2) Add an array bounds check for the arrays indexed by dm->num_of_edps
      
      3) register_backlight_device() always increases dm->num_of_edps if
      amdgpu_dm_register_backlight_device() has assigned a backlight_dev to
      the current dm->backlight_link[dm->num_of_edps] slot.
      
      So on its next call dm->backlight_dev[dm->num_of_edps] always point to
      the next empty slot and the "if (!dm->backlight_dev[dm->num_of_edps])"
      check will thus always succeed and can be removed.
      
      4) Add a bl_idx local variable to use as array index, rather then
      using dm->num_of_edps to improve the code readability.
      Reviewed-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      ceb4a561
    • Hans de Goede's avatar
      drm/amd/display/amdgpu_dm: Fix backlight_device_register() error handling · 4db231d7
      Hans de Goede authored
      backlight_device_register() returns an ERR_PTR on error, but other code
      such as amdgpu_dm_connector_destroy() assumes dm->backlight_dev[i] is NULL
      if no backlight is registered.
      
      Clear dm->backlight_dev[i] on registration failure, to avoid other code
      trying to deref an ERR_PTR pointer.
      Reviewed-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      4db231d7
    • Jane Jian's avatar
      drm/amdgpu/gfx: set cg flags to enter/exit safe mode · 5957a967
      Jane Jian authored
      sriov needs to enter/exit safe mode in update umd p state
      add the cg flag to let it enter or exit while needed
      Signed-off-by: default avatarJane Jian <Jane.Jian@amd.com>
      Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      5957a967
    • YuBiao Wang's avatar
      drm/amdgpu: Force signal hw_fences that are embedded in non-sched jobs · f466b111
      YuBiao Wang authored
      [Why]
      For engines not supporting soft reset, i.e. VCN, there will be a failed
      ib test before mode 1 reset during asic reset. The fences in this case
      are never signaled and next time when we try to free the sa_bo, kernel
      will hang.
      
      [How]
      During pre_asic_reset, driver will clear job fences and afterwards the
      fences' refcount will be reduced to 1. For drm_sched_jobs it will be
      released in job_free_cb, and for non-sched jobs like ib_test, it's meant
      to be released in sa_bo_free but only when the fences are signaled. So
      we have to force signal the non_sched bad job's fence during
      pre_asic_reset or the clear is not complete.
      Signed-off-by: default avatarYuBiao Wang <YuBiao.Wang@amd.com>
      Acked-by: default avatarLuben Tuikov <luben.tuikov@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      f466b111
    • Tong Liu01's avatar
      drm/amdgpu: add mes resume when do gfx post soft reset · 3234fac0
      Tong Liu01 authored
      [why]
      when gfx do soft reset, mes will also do reset, if mes is not
      resumed when do recover from soft reset, mes is unable to respond
      in later sequence
      
      [how]
      resume mes when do gfx post soft reset
      Signed-off-by: default avatarTong Liu01 <Tong.Liu01@amd.com>
      Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      3234fac0
    • Tim Huang's avatar
      drm/amdgpu: skip ASIC reset for APUs when go to S4 · af1f2985
      Tim Huang authored
      For GC IP v11.0.4/11, PSP TMR need to be reserved
      for ASIC mode2 reset. But for S4, when psp suspend,
      it will destroy the TMR that fails the ASIC reset.
      
      [  96.006101] amdgpu 0000:62:00.0: amdgpu: MODE2 reset
      [  100.409717] amdgpu 0000:62:00.0: amdgpu: SMU: I'm not done with your previous command: SMN_C2PMSG_66:0x00000011 SMN_C2PMSG_82:0x00000002
      [  100.411593] amdgpu 0000:62:00.0: amdgpu: Mode2 reset failed!
      [  100.412470] amdgpu 0000:62:00.0: PM: pci_pm_freeze(): amdgpu_pmops_freeze+0x0/0x50 [amdgpu] returns -62
      [  100.414020] amdgpu 0000:62:00.0: PM: dpm_run_callback(): pci_pm_freeze+0x0/0xd0 returns -62
      [  100.415311] amdgpu 0000:62:00.0: PM: pci_pm_freeze+0x0/0xd0 returned -62 after 4623202 usecs
      [  100.416608] amdgpu 0000:62:00.0: PM: failed to freeze async: error -62
      
      We can skip the reset on APUs, assuming we can resume them
      properly. Verified on some GFX11, GFX10 and old GFX9 APUs.
      Signed-off-by: default avatarTim Huang <tim.huang@amd.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      af1f2985
    • Tim Huang's avatar
      drm/amdgpu: reposition the gpu reset checking for reuse · d24eae4d
      Tim Huang authored
      Move the amdgpu_acpi_should_gpu_reset out of
      CONFIG_SUSPEND to share it with hibernate case.
      Signed-off-by: default avatarTim Huang <tim.huang@amd.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      d24eae4d
    • Alex Deucher's avatar
      drm/amdgpu: drop the extra sign extension · aef98f2e
      Alex Deucher authored
      amdgpu_bo_gpu_offset_no_check() already calls
      amdgpu_gmc_sign_extend() so no need to call it twice.
      Reviewed-by: default avatarYang Wang <kevinyang.wang@amd.com>
      Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      aef98f2e
    • Dave Airlie's avatar
      Merge tag 'drm-habanalabs-next-2023-03-20' of... · d36d68fd
      Dave Airlie authored
      Merge tag 'drm-habanalabs-next-2023-03-20' of https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux into drm-next
      
      This tag contains habanalabs driver and accel changes for v6.4:
      
      - uAPI changes:
      
        - Add opcodes to the CS ioctl to allow user to stall/resume specific engines
          inside Gaudi2. This is to allow the user to perform power
          testing/measurements when training different topologies.
      
        - Expose in the INFO ioctl the amount of device memory that the driver
          and f/w reserve for themselves.
      
        - Expose in the INFO ioctl a bit-mask of the available rotator engines
          in Gaudi2. This is to align with other engines that are already exposed.
      
        - Expose in the INFO ioctl the register's address of the f/w that should
          be used to trigger interrupts from within the user's code running in the
          compute engines.
      
        - Add a critical-event bit in the eventfd bitmask so the user will know the
          event that was received was critical, and a reset will now occur
      
        - Expose in the INFO ioctl two new opcodes to fetch information on h/w and
          f/w events. The events recorded are the events that were reported in the
          eventfd.
      
      - New features and improvements:
      
        - Add a dedicated interrupt ID in MSI-X in the device to the notification of
          an unexpected user-related event in Gaudi2. Handle it in the driver by
          reporting this event.
      
        - Allow the user to fetch the device memory current usage even when the
          device is undergoing compute-reset (a reset type that only clears the
          compute engines).
      
        - Enable graceful reset mechanism for compute-reset. This will give the
          user a few seconds before the device is reset. For example, the user can,
          during that time, perform certain device operations (dump data for debug)
          or close the device in an orderly fashion.
      
        - Align the decoder with the rest of the engines in regard to notification
          to the user about interrupts and in regard to performing graceful reset
          when needed (instead of immediate reset).
      
        - Add support for assert interrupt from the TPC engine.
      
        - Get the reset type that is necessary to perform per event from the
          auto-generated irq_map array.
      
        - Print the specific reason why a device is still in use when notifying to
          the user about it (after the user closed the device's FD).
      
        - Move to threaded IRQ when handling interrupts of workload completions.
      
      - Firmware related fixes:
      
        - Fix RAZWI event handler to match newest f/w version.
      
        - Read error cause register in dma core events because the f/w doesn't
          do that.
      
        - Increase maximum time to wait for completion of Gaudi2 reset due to f/w
          bug.
      
        - Align to the latest firmware specs.
      
      - Enforce the release order of the compute device and dma-buf.
        i.e increment the device file refcount for any dma-buf that was exported
        for that device. This will make sure the compute device release function
        won't be called until the user closes all the FDs of the relevant
        dma-bufs. Without this change, closing the device's FD before/without
        closing the dma-buf's FD would always lead to hard-reset of the device.
      
      - Fix a link in the drm documentation to correctly point to the accel section.
      
      - Compilation warnings cleanups
      
      - Misc bug fixes and code cleanups
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQEzBAABCgAdFiEE7TEboABC71LctBLFZR1NuKta54AFAmQYfcAACgkQZR1NuKta
      # 54DB4Af/SuiHZkVXwr+yHPv9El726rz9ZQD7mQtzNmehWGonwAvz15yqocNMUSbF
      # JbqE/vrZjvbXrP1Uv5UrlRVdnFHSPV18VnHU4BMS/WOm19SsR6vZ0QOXOoa6/AUb
      # w+kF3D//DbFI4/mTGfpH5/pzwu51ti8aVktosPFlHIa8iI8CB4/4IV+ivQ8UW4oK
      # HyDRkIvHdRmER7vGOfhwhsr4zdqSlJBYrv3C3Z1dkSYBPW/5ICbiM1UlKycwdYKI
      # cajQBSdUQwUCWnI+i8RmSy3kjNO6OE4XRUvTv89F2bQeyK/1rJLG2m2xZR/Ml/o5
      # 7Cgvbn0hWZyeqe7OObYiBlSOBSehCA==
      # =wclm
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Tue 21 Mar 2023 01:37:36 AEST
      # gpg:                using RSA key ED311BA00042EF52DCB412C5651D4DB8AB5AE780
      # gpg: Can't check signature: No public key
      From: Oded Gabbay <ogabbay@kernel.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230320154026.GA766126@ogabbay-vm-u20.habana-labs.com
      d36d68fd
    • Dave Airlie's avatar
      Merge tag 'drm-intel-gt-next-2023-03-16' of... · d240daa2
      Dave Airlie authored
      Merge tag 'drm-intel-gt-next-2023-03-16' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      Driver Changes:
      
      - Fix issue #6333: "list_add corruption" and full system lockup from
        performance monitoring (Janusz)
      - Give the punit time to settle before fatally failing (Aravind, Chris)
      - Don't use stolen memory or BAR for ring buffers on LLC platforms (John)
      - Add missing ecodes and correct timeline seqno on GuC error captures (John)
      - Make sure DSM size has correct 1MiB granularity on Gen12+ (Nirmoy,
        Lucas)
      - Fix potential SSEU max_subslices array-index-out-of-bounds access on Gen11 (Andrea)
      - Whitelist COMMON_SLICE_CHICKEN3 for UMD access on Gen12+ (Matt R.)
      - Apply Wa_1408615072/Wa_1407596294 correctly on Gen11 (Matt R)
      - Apply LNCF/LBCF workarounds correctly on XeHP SDV/PVC/DG2 (Matt R)
      - Implement Wa_1606376872 for Xe_LP (Gustavo)
      - Consider GSI offset when doing MCR lookups on Meteorlake+ (Matt R.)
      - Add engine TLB invalidation for Meteorlake (Matt R.)
      - Fix GSC Driver-FLR completion on Meteorlake (Alan)
      - Fix GSC races on driver load/unload on Meteorlake+ (Daniele)
      - Disable MC6 for MTL A step (Badal)
      
      - Consolidate TLB invalidation flow (Tvrtko)
      - Improve debug GuC/HuC debug messages (Michal Wa., John)
      - Move fd_install after last use of fence (Rob)
      - Initialize the obj flags for shmem objects (Aravind)
      - Fix missing debug object activation (Nirmoy)
      - Probe lmem before the stolen portion (Matt A)
      - Improve clean up of GuC busyness stats worker (John)
      - Fix missing return code checks in GuC submission init (John)
      - Annotate two more workaround/tuning registers as MCR on PVC (Matt R)
      - Fix GEN8_MISCCPCTL definition and remove unused INF_UNIT_LEVEL_CLKGATE (Lucas)
      - Use sysfs_emit() and sysfs_emit_at() (Nirmoy)
      - Make kobj_type structures constant (Thomas W.)
      - make kobj attributes const on gt/ (Jani)
      - Remove the unused virtualized start hack on buddy allocator (Matt A)
      - Remove redundant check for DG1 (Lucas)
      - Move DG2 tuning to the right function (Lucas)
      - Rename dev_priv to i915 for private data naming consistency in gt/ (Andi)
      - Remove unnecessary whitelisting of CS_CTX_TIMESTAMP on Xe_HP platforms (Matt R.)
      -
      
      - Escape wildcard in method names in kerneldoc (Bagas)
      - Selftest improvements (Chris, Jonathan, Tvrtko, Anshuman, Tejas)
      - Fix sparse warnings (Jani)
      
      [airlied: fix unused variable in intel_workarounds]
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZBMSb42yjjzczRhj@jlahtine-mobl.ger.corp.intel.com
      d240daa2