diff mbox series

[1/2] drm/nouveau: stop using persistent_swap_storage

Message ID 20200917142917.3178-1-christian.koenig@amd.com (mailing list archive)
State New, archived
Headers show
Series [1/2] drm/nouveau: stop using persistent_swap_storage | expand

Commit Message

Christian König Sept. 17, 2020, 2:29 p.m. UTC
According to Ben this is most likely just a leftover.

Signed-off-by: Christian König <christian.koenig@amd.com>
---
 drivers/gpu/drm/nouveau/nouveau_gem.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Christian König Sept. 23, 2020, 1:03 p.m. UTC | #1
Ping? Ben, Dave any comment on this?

Am 17.09.20 um 16:29 schrieb Christian König:
> According to Ben this is most likely just a leftover.
>
> Signed-off-by: Christian König <christian.koenig@amd.com>
> ---
>   drivers/gpu/drm/nouveau/nouveau_gem.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/nouveau/nouveau_gem.c b/drivers/gpu/drm/nouveau/nouveau_gem.c
> index 89adadf4706b..5945c663381d 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_gem.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_gem.c
> @@ -209,7 +209,6 @@ nouveau_gem_new(struct nouveau_cli *cli, u64 size, int align, uint32_t domain,
>   	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA)
>   		nvbo->valid_domains &= domain;
>   
> -	nvbo->bo.persistent_swap_storage = nvbo->bo.base.filp;
>   	*pnvbo = nvbo;
>   	return 0;
>   }
Dave Airlie Sept. 24, 2020, 12:19 a.m. UTC | #2
Reviewed-by: Dave Airlie <airlied@redhat.com>

For both patches.

On Wed, 23 Sep 2020 at 23:03, Christian König
<ckoenig.leichtzumerken@gmail.com> wrote:
>
> Ping? Ben, Dave any comment on this?
>
> Am 17.09.20 um 16:29 schrieb Christian König:
> > According to Ben this is most likely just a leftover.
> >
> > Signed-off-by: Christian König <christian.koenig@amd.com>
> > ---
> >   drivers/gpu/drm/nouveau/nouveau_gem.c | 1 -
> >   1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/nouveau/nouveau_gem.c b/drivers/gpu/drm/nouveau/nouveau_gem.c
> > index 89adadf4706b..5945c663381d 100644
> > --- a/drivers/gpu/drm/nouveau/nouveau_gem.c
> > +++ b/drivers/gpu/drm/nouveau/nouveau_gem.c
> > @@ -209,7 +209,6 @@ nouveau_gem_new(struct nouveau_cli *cli, u64 size, int align, uint32_t domain,
> >       if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA)
> >               nvbo->valid_domains &= domain;
> >
> > -     nvbo->bo.persistent_swap_storage = nvbo->bo.base.filp;
> >       *pnvbo = nvbo;
> >       return 0;
> >   }
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox series

Patch

diff --git a/drivers/gpu/drm/nouveau/nouveau_gem.c b/drivers/gpu/drm/nouveau/nouveau_gem.c
index 89adadf4706b..5945c663381d 100644
--- a/drivers/gpu/drm/nouveau/nouveau_gem.c
+++ b/drivers/gpu/drm/nouveau/nouveau_gem.c
@@ -209,7 +209,6 @@  nouveau_gem_new(struct nouveau_cli *cli, u64 size, int align, uint32_t domain,
 	if (drm->client.device.info.family >= NV_DEVICE_INFO_V0_TESLA)
 		nvbo->valid_domains &= domain;
 
-	nvbo->bo.persistent_swap_storage = nvbo->bo.base.filp;
 	*pnvbo = nvbo;
 	return 0;
 }