diff options
author | Dave Airlie <airlied@redhat.com> | 2022-07-12 10:43:49 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2022-07-12 10:44:40 +1000 |
commit | 3590b44b9434af1b9c81c3f40189087ed4fe3635 (patch) | |
tree | 5767d1d8510013eda8c41af644010277b9734f8e /drivers/dma-buf | |
parent | 42e0a87233e373e1c0d0831d342294b1ba103d23 (diff) | |
parent | b68277f19e31a25312c4acccadb5cf1502e52e84 (diff) |
Merge tag 'drm-misc-fixes-2022-07-07-1' of ssh://git.freedesktop.org/git/drm/drm-misc into drm-fixes
Three mode setting fixes for fsl-ldb, a fbdev removal use-after-free fix,
a dma-buf fence use-after-free fix, a DMA setup fix for rockchip, an error
path fix and memory corruption fix for panfrost and one more orientation
quirk
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220708054306.wr6jcfdunuypftbq@houat
Diffstat (limited to 'drivers/dma-buf')
-rw-r--r-- | drivers/dma-buf/dma-resv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma-buf/dma-resv.c b/drivers/dma-buf/dma-resv.c index 0cce6e4ec946..205acb2c744d 100644 --- a/drivers/dma-buf/dma-resv.c +++ b/drivers/dma-buf/dma-resv.c @@ -343,7 +343,7 @@ void dma_resv_replace_fences(struct dma_resv *obj, uint64_t context, if (old->context != context) continue; - dma_resv_list_set(list, i, replacement, usage); + dma_resv_list_set(list, i, dma_fence_get(replacement), usage); dma_fence_put(old); } } |