Hi Dave and Daniel,
here's this week's PR for drm-misc-next-fixes.
Best regards
Thomas
drm-misc-next-fixes-2020-12-22:
Short summary of fixes pull:
* dma-buf: Include <linux/vmalloc.h> for building on MIPS
* komeda: Fix order of operation in commit tail; Fix NULL-pointer and
out-of-bounds access; Cleanups
* ttm: Fix an unused-function warning
The following changes since commit ee46d16d2e40bebc2aa790fd7b6a056466ff895c:
drm: mxsfb: Silence -EPROBE_DEFER while waiting …
[View More]for bridge (2020-12-15 11:01:10 +0100)
are available in the Git repository at:
git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2020-12-22
for you to fetch changes up to be3e477effba636ad25dcd244db264c6cd5c1f36:
drm/komeda: Fix bit check to import to value of proper type (2020-12-18 16:36:00 +0000)
----------------------------------------------------------------
Short summary of fixes pull:
* dma-buf: Include <linux/vmalloc.h> for building on MIPS
* komeda: Fix order of operation in commit tail; Fix NULL-pointer and
out-of-bounds access; Cleanups
* ttm: Fix an unused-function warning
----------------------------------------------------------------
Arnd Bergmann (1):
drm/ttm: fix unused function warning
Carsten Haitzler (3):
drm/komeda: Remove useless variable assignment
drm/komeda: Handle NULL pointer access code path in error case
drm/komeda: Fix bit check to import to value of proper type
Christian König (1):
drm/qxl: don't allocate a dma_address array
James Qian Wang (1):
drm/komeda: Correct the sequence of hw_done() and flip_done()
John Stultz (1):
dma-buf: cma_heap: Include linux/vmalloc.h to fix build failures on MIPS
drivers/dma-buf/heaps/cma_heap.c | 1 +
drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 1 -
drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 4 +--
.../gpu/drm/arm/display/komeda/komeda_pipeline.c | 3 ++-
.../drm/arm/display/komeda/komeda_pipeline_state.c | 4 +--
drivers/gpu/drm/qxl/qxl_ttm.c | 2 +-
drivers/gpu/drm/ttm/ttm_pool.c | 29 +++++++++++-----------
7 files changed, 22 insertions(+), 22 deletions(-)
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
[View Less]
https://bugzilla.kernel.org/show_bug.cgi?id=205675
Bug ID: 205675
Summary: Display locks up. AMDGPU timeout
Product: Drivers
Version: 2.5
Kernel Version: 5.4.0
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri(a)kernel-bugs.osdl.org
Reporter: …
[View More]freddyreimer(a)comcast.net
Regression: No
Created attachment 286079
--> https://bugzilla.kernel.org/attachment.cgi?id=286079&action=edit
dmesg tail from immediately after a lockup
I have been encountering issues the AMDGPU driver completely failing when
loading games. When loading into a game and after making one click or moving
the mouse, the display will completely freeze. Can't tab out or go to a TTY at
all. I can SSH into the box and do stuff, such as getting the attached dmesg
tail, but even killing the process doesn't unfreeze the display, which has the
still image of the game. Only rebooting unlocks it.
Basically it just seems to timeout and then can't recover, and this happens all
the time on certain games, but inconsistent as to what environment it happens.
Some lock it up on Xorg but work fine on Wayland. Some work fine on Wayland but
break on Xorg. Some never work at all. My Graphics card is a Navi10, RX5700.
I'm on the 5.4 kernel, but this was happening on 5.3 as well.
--
You are receiving this mail because:
You are watching the assignee of the bug.
[View Less]
From: Arnd Bergmann <arnd(a)arndb.de>
When LLCC support is in a loadable module, the adreno support
cannot be built-in:
aarch64-linux-ld: drivers/gpu/drm/msm/adreno/a6xx_gpu.o: in function `a6xx_gpu_init':
a6xx_gpu.c:(.text+0xe0): undefined reference to `llcc_slice_getd'
a6xx_gpu.c:(.text+0xe0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `llcc_slice_getd'
aarch64-linux-ld: a6xx_gpu.c:(.text+0xec): undefined reference to `llcc_slice_getd'
a6xx_gpu.c:(.text+…
[View More]0xec): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `llcc_slice_getd'
aarch64-linux-ld: drivers/gpu/drm/msm/adreno/a6xx_gpu.o: in function `a6xx_destroy':
a6xx_gpu.c:(.text+0x274): undefined reference to `llcc_slice_putd'
a6xx_gpu.c:(.text+0x274): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `llcc_slice_putd'
aarch64-linux-ld: a6xx_gpu.c:(.text+0x27c): undefined reference to `llcc_slice_putd'
Add a Kconfig dependency that disallows the broken configuration
but allows all working ones.
Fixes: 474dadb8b0d5 ("drm/msm/a6xx: Add support for using system cache(LLC)")
Signed-off-by: Arnd Bergmann <arnd(a)arndb.de>
---
drivers/gpu/drm/msm/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig
index dabb4a1ccdcf..b8e02859fd92 100644
--- a/drivers/gpu/drm/msm/Kconfig
+++ b/drivers/gpu/drm/msm/Kconfig
@@ -7,6 +7,8 @@ config DRM_MSM
depends on IOMMU_SUPPORT
depends on OF && COMMON_CLK
depends on QCOM_OCMEM || QCOM_OCMEM=n
+ depends on QCOM_LLCC || QCOM_LLCC=n
+ depends on QCOM_COMMAND_DB || QCOM_COMMAND_DB=n
select IOMMU_IO_PGTABLE
select QCOM_MDT_LOADER if ARCH_QCOM
select REGULATOR
@@ -15,7 +17,6 @@ config DRM_MSM
select SHMEM
select TMPFS
select QCOM_SCM if ARCH_QCOM
- select QCOM_COMMAND_DB if ARCH_QCOM
select WANT_DEV_COREDUMP
select SND_SOC_HDMI_CODEC if SND_SOC
select SYNC_FILE
--
2.29.2
[View Less]