All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/vmwgfx: return value from inserting in thp mode.
@ 2020-09-30  2:07 Dave Airlie
  2020-09-30  2:17 ` Zack Rusin
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Airlie @ 2020-09-30  2:07 UTC (permalink / raw)
  To: dri-devel, rscheidegger.oss; +Cc: linux-graphics-maintainer

From: Dave Airlie <airlied@redhat.com>

This seems to fix the failure I'm seeing with 5.9-rc7 under
vmplayer.

Signed-off-by: Dave Airlie <airlied@redhat.com>
---
 drivers/gpu/drm/vmwgfx/vmwgfx_thp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c b/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
index b7c816ba7166..c8b9335bccd8 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
@@ -95,7 +95,7 @@ static int vmw_thp_get_node(struct ttm_mem_type_manager *man,
 		mem->start = node->start;
 	}
 
-	return 0;
+	return ret;
 }
 
 
-- 
2.26.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/vmwgfx: return value from inserting in thp mode.
  2020-09-30  2:07 [PATCH] drm/vmwgfx: return value from inserting in thp mode Dave Airlie
@ 2020-09-30  2:17 ` Zack Rusin
  2020-09-30  2:50   ` Dave Airlie
  0 siblings, 1 reply; 3+ messages in thread
From: Zack Rusin @ 2020-09-30  2:17 UTC (permalink / raw)
  To: Dave Airlie; +Cc: Linux-graphics-maintainer, rscheidegger.oss, dri-devel


> On Sep 29, 2020, at 22:07, Dave Airlie <airlied@gmail.com> wrote:
> 
> From: Dave Airlie <airlied@redhat.com>
> 
> This seems to fix the failure I'm seeing with 5.9-rc7 under
> vmplayer.
> 
> Signed-off-by: Dave Airlie <airlied@redhat.com>
> ---
> drivers/gpu/drm/vmwgfx/vmwgfx_thp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c b/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
> index b7c816ba7166..c8b9335bccd8 100644
> --- a/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
> +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
> @@ -95,7 +95,7 @@ static int vmw_thp_get_node(struct ttm_mem_type_manager *man,
> 		mem->start = node->start;
> 	}
> 
> -	return 0;
> +	return ret;
> }

That’s part of it. Roland, has a patch from me in his tree that fixes it. Roland, can you please submit it to Dave for merge?

z
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/vmwgfx: return value from inserting in thp mode.
  2020-09-30  2:17 ` Zack Rusin
@ 2020-09-30  2:50   ` Dave Airlie
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Airlie @ 2020-09-30  2:50 UTC (permalink / raw)
  To: Zack Rusin; +Cc: Linux-graphics-maintainer, rscheidegger.oss, dri-devel

On Wed, 30 Sep 2020 at 12:17, Zack Rusin <zackr@vmware.com> wrote:
>
>
> > On Sep 29, 2020, at 22:07, Dave Airlie <airlied@gmail.com> wrote:
> >
> > From: Dave Airlie <airlied@redhat.com>
> >
> > This seems to fix the failure I'm seeing with 5.9-rc7 under
> > vmplayer.
> >
> > Signed-off-by: Dave Airlie <airlied@redhat.com>
> > ---
> > drivers/gpu/drm/vmwgfx/vmwgfx_thp.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c b/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
> > index b7c816ba7166..c8b9335bccd8 100644
> > --- a/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
> > +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
> > @@ -95,7 +95,7 @@ static int vmw_thp_get_node(struct ttm_mem_type_manager *man,
> >               mem->start = node->start;
> >       }
> >
> > -     return 0;
> > +     return ret;
> > }
>
> That’s part of it. Roland, has a patch from me in his tree that fixes it. Roland, can you please submit it to Dave for merge?
>

Please ASAP. I'm trying to test TTM changes, so I'd like to know I've
had a stable base here.

Dave.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-30  2:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-30  2:07 [PATCH] drm/vmwgfx: return value from inserting in thp mode Dave Airlie
2020-09-30  2:17 ` Zack Rusin
2020-09-30  2:50   ` Dave Airlie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.