Skip to content

alloc_apertures() handling fixes

Tommi Rantala dri-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/cirrus: check alloc_apertures() success in cirrus_kick_out_firmware_fb()drivers/gpu/drm/cirrus/cirrus_drv.c+11 -20 replies
2/6drm/mgag200: check alloc_apertures() success in mga_vram_init()drivers/gpu/drm/mgag200/mgag200_main.c+2 -00 replies
3/6drm/mgag200: free memory allocated with alloc_apertures()drivers/gpu/drm/mgag200/mgag200_main.c+1 -00 replies
4/6drm/mgag200: remove unneeded aper->count assignment after alloc_apertures()drivers/gpu/drm/mgag200/mgag200_main.c+0 -10 replies
5/6drm/radeon: check alloc_apertures() success in radeon_kick_out_firmware_fb()drivers/gpu/drm/radeon/radeon_drv.c+11 -20 replies
6/6drm/nouveau: free memory allocated with alloc_apertures()drivers/gpu/drm/nouveau/nouveau_drm.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] alloc_apertures() handling fixes

Greetings,

The following patches fix a few memory leaks and other problems related to the alloc_apertures() call.

Tommi Rantala (6):
drm/cirrus: check alloc_apertures() success in
cirrus_kick_out_firmware_fb()
drm/mgag200: check alloc_apertures() success in mga_vram_init() drm/mgag200: free memory allocated with alloc_apertures() drm/mgag200: remove unneeded aper->count assignment after
alloc_apertures()
drm/radeon: check alloc_apertures() success in
radeon_kick_out_firmware_fb()
drm/nouveau: free memory allocated with alloc_apertures()

 drivers/gpu/drm/cirrus/cirrus_drv.c    |   13 +++++++++++--
 drivers/gpu/drm/mgag200/mgag200_main.c |    4 +++-
 drivers/gpu/drm/nouveau/nouveau_drm.c  |    1 +
 drivers/gpu/drm/radeon/radeon_drv.c    |   13 +++++++++++--
 4 files changed, 26 insertions(+), 5 deletions(-)
Signature · 1 line
1.7.9.5