OpenCloudOS-Kernel/drivers/gpu/drm/via
Bernard Zhao 14212fe77e drm/via: reduce no need mutex_lock area
In function via_mem_alloc`s error branch, DRM_ERROR is protected
in the mutex_lock(&dev->struct_mutex) area.
>From the code, we see that DRM_ERROR is just an error log print
without any struct element, there is no need to protect this.

Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200814083021.8962-1-bernard@vivo.com
2020-10-17 10:10:24 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
via_3d_reg.h
via_dma.c drm/via: drop use of drmP.h 2019-07-25 17:35:20 +02:00
via_dmablit.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
via_dmablit.h drm/via: fixed coding style issues, simplified return 2010-08-02 10:17:23 +10:00
via_drv.c drm/via: Don't include <drm/drm_pci.h> 2019-12-05 08:45:13 +01:00
via_drv.h drm/via: make via_drv.h self-contained 2019-07-25 17:35:20 +02:00
via_irq.c drm/via: drop use of drmP.h 2019-07-25 17:35:20 +02:00
via_map.c drm/via: Don't include <drm/drm_pci.h> 2019-12-05 08:45:13 +01:00
via_mm.c drm/via: reduce no need mutex_lock area 2020-10-17 10:10:24 +02:00
via_verifier.c drm/via: drop use of drmP.h 2019-07-25 17:35:20 +02:00
via_verifier.h drm/via: fixed coding style issues, simplified return 2010-08-02 10:17:23 +10:00
via_video.c drm/via: drop use of drmP.h 2019-07-25 17:35:20 +02:00