Re: [PATCH] drm/radeon/kms: free ib pool on module unloading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 6, 2011 at 2:30 PM,  <j.glisse@xxxxxxxxx> wrote:
> From: Jerome Glisse <jglisse@xxxxxxxxxx>
>
> ib pool weren't free for various newer asic on module unload.
> This doesn't cause much arm but still could be candidate for
> stable.
>
> Signed-off-by: Jerome Glisse <jglisse@xxxxxxxxxx>

Reviewed-by: Alex Deucher <alexdeucher@xxxxxxxxx>

> ---
>  drivers/gpu/drm/radeon/evergreen.c |    1 +
>  drivers/gpu/drm/radeon/ni.c        |    1 +
>  drivers/gpu/drm/radeon/r600.c      |    1 +
>  drivers/gpu/drm/radeon/rv770.c     |    1 +
>  4 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
> index e8a5ffb..a2d9008 100644
> --- a/drivers/gpu/drm/radeon/evergreen.c
> +++ b/drivers/gpu/drm/radeon/evergreen.c
> @@ -3237,6 +3237,7 @@ void evergreen_fini(struct radeon_device *rdev)
>        r700_cp_fini(rdev);
>        r600_irq_fini(rdev);
>        radeon_wb_fini(rdev);
> +       radeon_ib_pool_fini(rdev);
>        radeon_irq_kms_fini(rdev);
>        evergreen_pcie_gart_fini(rdev);
>        radeon_gem_fini(rdev);
> diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c
> index 16caafe..559dbd4 100644
> --- a/drivers/gpu/drm/radeon/ni.c
> +++ b/drivers/gpu/drm/radeon/ni.c
> @@ -1581,6 +1581,7 @@ void cayman_fini(struct radeon_device *rdev)
>        cayman_cp_fini(rdev);
>        r600_irq_fini(rdev);
>        radeon_wb_fini(rdev);
> +       radeon_ib_pool_fini(rdev);
>        radeon_irq_kms_fini(rdev);
>        cayman_pcie_gart_fini(rdev);
>        radeon_gem_fini(rdev);
> diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
> index f79d2cc..bc54b26 100644
> --- a/drivers/gpu/drm/radeon/r600.c
> +++ b/drivers/gpu/drm/radeon/r600.c
> @@ -2628,6 +2628,7 @@ void r600_fini(struct radeon_device *rdev)
>        r600_cp_fini(rdev);
>        r600_irq_fini(rdev);
>        radeon_wb_fini(rdev);
> +       radeon_ib_pool_fini(rdev);
>        radeon_irq_kms_fini(rdev);
>        r600_pcie_gart_fini(rdev);
>        radeon_agp_fini(rdev);
> diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c
> index 8bb347d..4de5189 100644
> --- a/drivers/gpu/drm/radeon/rv770.c
> +++ b/drivers/gpu/drm/radeon/rv770.c
> @@ -1368,6 +1368,7 @@ void rv770_fini(struct radeon_device *rdev)
>        r700_cp_fini(rdev);
>        r600_irq_fini(rdev);
>        radeon_wb_fini(rdev);
> +       radeon_ib_pool_fini(rdev);
>        radeon_irq_kms_fini(rdev);
>        rv770_pcie_gart_fini(rdev);
>        rv770_vram_scratch_fini(rdev);
> --
> 1.7.3.2
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux