[PULL] drm-fixes

From: Daniel Vetter
Date: Fri Jan 08 2021 - 11:00:52 EST


Hi Linus,

Looks like people are back from the break, usual small pile of fixes all
over. Next week Dave should be back. Only thing pending I'm aware of is a
"this shouldn't have become uapi" reverts for amdgpu, but they're already
on the list and not that important really so can wait another week.

Cheers, Daniel

drm-fixes-2021-01-08:
drm-fixes for -rc3

- fix for ttm list corruption in radeon, reported by a few people
- fixes for amdgpu, i915, msm
- dma-buf use-after free fix

Cheers, Daniel

The following changes since commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62:

Linux 5.11-rc2 (2021-01-03 15:55:30 -0800)

are available in the Git repository at:

git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2021-01-08

for you to fetch changes up to 29f95f20581c4bb4e58c1cc1cb15bff9b931cad9:

Merge tag 'drm-misc-fixes-2021-01-08' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2021-01-08 10:39:18 +0100)

----------------------------------------------------------------
drm-fixes for -rc3

- fix for ttm list corruption in radeon, reported by a few people
- fixes for amdgpu, i915, msm
- dma-buf use-after free fix

----------------------------------------------------------------
Alex Deucher (2):
drm/amdgpu/display: drop DCN support for aarch64
Revert "drm/amd/display: Fix memory leaks in S3 resume"

Arnd Bergmann (1):
drm/amd/display: Fix unused variable warning

Charan Teja Reddy (1):
dmabuf: fix use-after-free of dmabuf's file->f_inode

Chris Wilson (2):
drm/i915/gt: Define guc firmware blob for older Cometlakes
drm/i915/dp: Track pm_qos per connector

Christian König (2):
drm/radeon: stop re-init the TTM page pool
drm/ttm: unexport ttm_pool_init/fini

Craig Tatlor (1):
drm/msm: Call msm_init_vram before binding the gpu

Daniel Vetter (4):
Merge tag 'amd-drm-fixes-5.11-2021-01-06' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
Merge tag 'drm-intel-fixes-2021-01-07' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
Merge tag 'drm-msm-fixes-2021-01-07' of https://gitlab.freedesktop.org/drm/msm into drm-fixes
Merge tag 'drm-misc-fixes-2021-01-08' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes

Dennis Li (3):
drm/amdgpu: fix a memory protection fault when remove amdgpu device
drm/amdgpu: fix a GPU hang issue when remove device
drm/amdgpu: fix no bad_pages issue after umc ue injection

Hawking Zhang (1):
drm/amdgpu: switched to cached noretry setting for vangogh

Iskren Chernev (3):
drm/msm: Fix null dereference in _msm_gem_new
drm/msm: Ensure get_pages is called when locked
drm/msm: Add modparam to allow vram carveout

Jiawei Gu (1):
drm/amdgpu: fix potential memory leak during navi12 deinitialization

John Clements (2):
drm/amd/pm: updated PM to I2C controller port on sienna cichlid
drm/amdgpu: enable ras eeprom support for sienna cichlid

Kevin Wang (1):
drm/amd/display: fix sysfs amdgpu_current_backlight_pwm NULL pointer issue

Konrad Dybcio (1):
drm/msm: Only enable A6xx LLCC code on A6xx

Kuogee Hsieh (1):
drm/msm/dp: postpone irq_hpd event during connection pending state

Matthew Auld (2):
drm/i915: clear the shadow batch
drm/i915: clear the gpu reloc batch

Rob Clark (1):
drm/msm: Fix WARN_ON() splat in _free_object()

Xiaojian Du (4):
drm/amd/pm: correct the sensor value of power for vangogh
drm/amd/pm: improve the fine grain tuning function for RV/RV2/PCO
drm/amd/pm: fix the failure when change power profile for renoir
drm/amd/pm: improve the fine grain tuning function for RV/RV2/PCO

drivers/dma-buf/dma-buf.c | 21 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 25 +++-
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 8 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 8 +-
drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c | 2 +-
drivers/gpu/drm/amd/display/Kconfig | 2 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 7 +-
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h | 2 +-
drivers/gpu/drm/amd/display/dc/calcs/Makefile | 4 -
drivers/gpu/drm/amd/display/dc/clk_mgr/Makefile | 21 ---
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 7 +-
drivers/gpu/drm/amd/display/dc/dcn10/Makefile | 7 -
.../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 7 -
drivers/gpu/drm/amd/display/dc/dcn20/Makefile | 4 -
drivers/gpu/drm/amd/display/dc/dcn21/Makefile | 4 -
drivers/gpu/drm/amd/display/dc/dcn30/Makefile | 5 -
drivers/gpu/drm/amd/display/dc/dcn301/Makefile | 4 -
drivers/gpu/drm/amd/display/dc/dcn302/Makefile | 4 -
drivers/gpu/drm/amd/display/dc/dml/Makefile | 4 -
drivers/gpu/drm/amd/display/dc/dsc/Makefile | 4 -
drivers/gpu/drm/amd/display/dc/os_types.h | 4 -
.../gpu/drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.c | 166 +++++++++++++++++++--
.../gpu/drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.h | 3 +
.../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 2 +-
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 3 +-
drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c | 1 +
drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c | 1 +
drivers/gpu/drm/i915/display/intel_display_types.h | 3 +
drivers/gpu/drm/i915/display/intel_dp.c | 8 +-
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 4 +-
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 1 +
drivers/gpu/drm/i915/i915_cmd_parser.c | 27 ++--
drivers/gpu/drm/i915/i915_drv.c | 5 -
drivers/gpu/drm/i915/i915_drv.h | 3 -
drivers/gpu/drm/msm/adreno/a2xx_gpu.c | 6 +-
drivers/gpu/drm/msm/adreno/a3xx_gpu.c | 6 +-
drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 6 +-
drivers/gpu/drm/msm/adreno/adreno_device.c | 4 +
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 21 +--
drivers/gpu/drm/msm/adreno/adreno_gpu.h | 6 +
drivers/gpu/drm/msm/dp/dp_display.c | 7 +
drivers/gpu/drm/msm/dp/dp_panel.c | 12 +-
drivers/gpu/drm/msm/msm_drv.c | 8 +-
drivers/gpu/drm/msm/msm_gem.c | 13 +-
drivers/gpu/drm/radeon/radeon_ttm.c | 3 -
drivers/gpu/drm/ttm/ttm_pool.c | 2 -
47 files changed, 302 insertions(+), 177 deletions(-)

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch