]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/qxl: don't allocate a dma_address array
authorChristian König <ckoenig.leichtzumerken@gmail.com>
Fri, 18 Dec 2020 13:42:43 +0000 (14:42 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 18 Dec 2020 14:14:17 +0000 (15:14 +0100)
commitf96f62597ea48cc15d6b16bddf05dc25437dcf2d
tree8f206d6d3627270f53a5a81f9680c3dfe92a4df0
parent660a59953f4ff8a4958e73f7618445ff537582b2
drm/qxl: don't allocate a dma_address array

That seems to be unused.

Daniel: Mike reported a warning when booting with qxl, which this
patch fixes:

[    1.815561] WARNING: CPU: 7 PID: 355 at drivers/gpu/drm/ttm/ttm_pool.c:365 ttm_pool_alloc+0x41b/0x540 [ttm]

Signed-off-by: Christian König <christian.koenig@amd.com>
Reported-by: Mike Galbraith <efault@gmx.de>
Tested-by: Mike Galbraith <efault@gmx.de>
References: https://lore.kernel.org/lkml/7cb43d5b-4e6a-defc-1ab6-5f713ad5a963@amd.com/
Reviewed-by: David Airlie <airlied@redhat.com>
[davnet: bring commit message up to par.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201218134243.110884-1-christian.koenig@amd.com
drivers/gpu/drm/qxl/qxl_ttm.c