Lucas Stach 8f3347a598 drm/etnaviv: fix reference leak when mmaping imported buffer
commit 963b2e8c428f79489ceeb058e8314554ec9cbe6f upstream.

drm_gem_prime_mmap() takes a reference on the GEM object, but before that
drm_gem_mmap_obj() already takes a reference, which will be leaked as only
one reference is dropped when the mapping is closed. Drop the extra
reference when dma_buf_mmap() succeeds.

Cc: stable@vger.kernel.org
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-08 11:24:07 +08:00
2022-09-13 11:05:52 +08:00
2023-12-03 15:33:55 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2023-08-19 15:26:40 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2023-10-09 15:46:44 -05:00
2022-09-13 11:05:52 +08:00
2023-08-19 15:26:40 +08:00
2023-08-02 01:27:02 +08:00
2022-09-13 11:05:52 +08:00
2023-10-09 15:46:44 -05:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2023-10-09 15:46:44 -05:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00

Please follow buildroot tips to startup T-HEAD C9xx CPU's boards: T-HEAD buildroot

Description
No description provided
Readme 222 MiB
Languages
C 97.8%
Assembly 1.2%
Shell 0.3%
Makefile 0.3%
Python 0.1%
Other 0.1%