Re: [PATCH] drm/ttm: soften TTM warnings

2021-03-04 Thread Christian König
Am 04.03.21 um 15:05 schrieb Gerd Hoffmann: On Wed, Mar 03, 2021 at 04:57:57PM +0100, Christian König wrote: QXL indeed unrefs pinned BOs and the warnings are spamming peoples log files. Make sure we warn only once until the QXL driver is fixed. - dma_resv_assert_held(bo->base.resv); +

Re: [PATCH] drm/ttm: soften TTM warnings

2021-03-04 Thread Gerd Hoffmann
On Wed, Mar 03, 2021 at 04:57:57PM +0100, Christian König wrote: > QXL indeed unrefs pinned BOs and the warnings are spamming peoples log files. > > Make sure we warn only once until the QXL driver is fixed. > - dma_resv_assert_held(bo->base.resv); > + if (!bo->deleted) > + dm

Re: [PATCH] drm/ttm: soften TTM warnings

2021-03-03 Thread Daniel Vetter
On Wed, Mar 3, 2021 at 9:36 PM Christian König wrote: > > > > Am 03.03.21 um 18:19 schrieb Daniel Vetter: > > On Wed, Mar 3, 2021 at 4:57 PM Christian König > > wrote: > >> QXL indeed unrefs pinned BOs and the warnings are spamming peoples log > >> files. > >> > >> Make sure we warn only once un

Re: [PATCH] drm/ttm: soften TTM warnings

2021-03-03 Thread Christian König
Am 03.03.21 um 18:19 schrieb Daniel Vetter: On Wed, Mar 3, 2021 at 4:57 PM Christian König wrote: QXL indeed unrefs pinned BOs and the warnings are spamming peoples log files. Make sure we warn only once until the QXL driver is fixed. Signed-off-by: Christian König Can you pls add FIXME c

Re: [PATCH] drm/ttm: soften TTM warnings

2021-03-03 Thread Daniel Vetter
On Wed, Mar 3, 2021 at 4:57 PM Christian König wrote: > > QXL indeed unrefs pinned BOs and the warnings are spamming peoples log files. > > Make sure we warn only once until the QXL driver is fixed. > > Signed-off-by: Christian König Can you pls add FIXME comments to each that qxl is broken and

[PATCH] drm/ttm: soften TTM warnings

2021-03-03 Thread Christian König
QXL indeed unrefs pinned BOs and the warnings are spamming peoples log files. Make sure we warn only once until the QXL driver is fixed. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/ttm/t