Commit 2e3b3c42f06ff6801b3d7839757bbdb231619083
(Add DRM KMS/FB CMA helper) add a kbuild entry,
config DRM_KMS_CMA_HELPER, in DRM's Kconfig without
dependence on DRM, it cause DRM's kconfig can't
be show in a submenu.
This patch fix it.
Signed-off-by: Wang YanQing udkni...@gmail.com
---
drivers
59.9
DP1 disconnected (normal left inverted right x axis y axis)
Signed-off-by: Wang YanQing udkni...@gmail.com
---
drivers/gpu/drm/drm_edid.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index dfd9ed3
This series patches fix resource leak
issue in error handle code path I meet
with drm, vmalloc leak, etc.
I meet below issue caused by drm haven't release
resource(include 40K vmalloc per module insert failed)
in error code path and buggy nvidia driver try to insert
nvidia module cycled when
Introduce a new function, drm_cleanup_in_dev,
we could use it to release resources allocated
by drm_fill_in_dev in the error handle code path
after drm_fill_in_dev have been called.
Signed-off-by: Wang YanQing
---
drivers/gpu/drm/drm_stub.c | 62
We should call drm_cleanup_in_dev in error handle
code path after drm_fill_in_dev had been called,
or it will cause resource leak heavily, vmalloc
leak etc.
This patch also add call to dev->unload in error
handle code path.
Signed-off-by: Wang YanQing
---
drivers/gpu/drm/drm_pci.c |
We should call drm_cleanup_in_dev in error handle
code path after drm_fill_in_dev had been called,
or it will cause resource leak heavily, vmalloc
leak etc.
This patch also add call to dev->unload in error
handle code path.
Signed-off-by: Wang YanQing
---
drivers/gpu/drm/drm_platform.c |
We should call drm_cleanup_in_dev in error handle
code path after drm_fill_in_dev had been called,
or it will cause resource leak heavily, vmalloc
leak etc.
This patch also add call to dev->unload in error
handle code path.
Signed-off-by: Wang YanQing
---
drivers/gpu/drm/drm_usb.c |
Rewrite error handle code in a more rational and
normal way, it bring us benefit that we could drop
call to drm_lastclose which do "too much" cleanup work
for drm_fill_in_dev.
Signed-off-by: Wang YanQing
---
drivers/gpu/drm/drm_stub.c | 26 +-
1 file c
Commit 2e3b3c42f06ff6801b3d7839757bbdb231619083
(Add DRM KMS/FB CMA helper) add a kbuild entry,
config DRM_KMS_CMA_HELPER, in DRM's Kconfig without
dependence on DRM, it cause DRM's kconfig can't
be show in a submenu.
This patch fix it.
Signed-off-by: Wang YanQing
---
drivers/gpu/drm/Kconfig
640x48060.0 59.9
DP1 disconnected (normal left inverted right x axis y axis)
Signed-off-by: Wang YanQing
---
drivers/gpu/drm/drm_edid.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index dfd9ed3..10c2
10 matches
Mail list logo