All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amd/display: revert "enable GPU VM support"
@ 2017-10-30 14:55 Christian König
       [not found] ` <1509375358-32528-1-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Christian König @ 2017-10-30 14:55 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

From: Christian König <christian.koenig@amd.com>

This reverts commit aa7187c5c640559ebc02caa0191c0db46b55b4a6.

Disable GPU VM support again for now until it doesn't cause a warning on
hardware which doesn't support it.

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

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index c13110f..e6ec130 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -417,8 +417,6 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
 
 	init_data.dce_environment = DCE_ENV_PRODUCTION_DRV;
 
-	init_data.flags.gpu_vm_support = true;
-
 	if (amdgpu_dc_log)
 		init_data.log_mask = DC_DEFAULT_LOG_MASK;
 	else
-- 
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

* Re: [PATCH] drm/amd/display: revert "enable GPU VM support"
       [not found] ` <1509375358-32528-1-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
@ 2017-10-30 15:02   ` Harry Wentland
       [not found]     ` <d935a949-2855-45de-c632-88a3c6b35022-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Harry Wentland @ 2017-10-30 15:02 UTC (permalink / raw)
  To: Christian König, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

On 2017-10-30 10:55 AM, Christian König wrote:
> From: Christian König <christian.koenig@amd.com>
> 
> This reverts commit aa7187c5c640559ebc02caa0191c0db46b55b4a6.
> 
> Disable GPU VM support again for now until it doesn't cause a warning on
> hardware which doesn't support it.
> 
> Signed-off-by: Christian König <christian.koenig@amd.com>

Reviewed-by: Harry Wentland <harry.wentland@amd.com>

I'll still try to hack DC to not blow up with this after which we can bring this back. Hopefully by end of the week.

Harry

> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index c13110f..e6ec130 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -417,8 +417,6 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
>  
>  	init_data.dce_environment = DCE_ENV_PRODUCTION_DRV;
>  
> -	init_data.flags.gpu_vm_support = true;
> -
>  	if (amdgpu_dc_log)
>  		init_data.log_mask = DC_DEFAULT_LOG_MASK;
>  	else
> 
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

* RE: [PATCH] drm/amd/display: revert "enable GPU VM support"
       [not found]     ` <d935a949-2855-45de-c632-88a3c6b35022-5C7GfCeVMHo@public.gmane.org>
@ 2017-10-30 17:23       ` Deucher, Alexander
  0 siblings, 0 replies; 3+ messages in thread
From: Deucher, Alexander @ 2017-10-30 17:23 UTC (permalink / raw)
  To: Wentland, Harry, Christian König,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf
> Of Harry Wentland
> Sent: Monday, October 30, 2017 11:02 AM
> To: Christian König; amd-gfx@lists.freedesktop.org
> Subject: Re: [PATCH] drm/amd/display: revert "enable GPU VM support"
> 
> On 2017-10-30 10:55 AM, Christian König wrote:
> > From: Christian König <christian.koenig@amd.com>
> >
> > This reverts commit aa7187c5c640559ebc02caa0191c0db46b55b4a6.
> >
> > Disable GPU VM support again for now until it doesn't cause a warning on
> > hardware which doesn't support it.
> >
> > Signed-off-by: Christian König <christian.koenig@amd.com>
> 
> Reviewed-by: Harry Wentland <harry.wentland@amd.com>
> 
> I'll still try to hack DC to not blow up with this after which we can bring this
> back. Hopefully by end of the week.

In the short term, can't we do something like:

if (adev->flags & AMDGPU_IS_APU && adev->asic_type >= CHIP_CARRIZO)
    init_data.flags.gpu_vm_support = true;

Alex

> 
> Harry
> 
> > ---
> >  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 --
> >  1 file changed, 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> > index c13110f..e6ec130 100644
> > --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> > +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> > @@ -417,8 +417,6 @@ static int amdgpu_dm_init(struct amdgpu_device
> *adev)
> >
> >  	init_data.dce_environment = DCE_ENV_PRODUCTION_DRV;
> >
> > -	init_data.flags.gpu_vm_support = true;
> > -
> >  	if (amdgpu_dc_log)
> >  		init_data.log_mask = DC_DEFAULT_LOG_MASK;
> >  	else
> >
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

end of thread, other threads:[~2017-10-30 17:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-30 14:55 [PATCH] drm/amd/display: revert "enable GPU VM support" Christian König
     [not found] ` <1509375358-32528-1-git-send-email-deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-10-30 15:02   ` Harry Wentland
     [not found]     ` <d935a949-2855-45de-c632-88a3c6b35022-5C7GfCeVMHo@public.gmane.org>
2017-10-30 17:23       ` Deucher, Alexander

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.