* [PATCH] drm/amdgpu/si: remove unused interface which caused build issue
@ 2016-09-19 8:11 Huang Rui
[not found] ` <1474272705-32265-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Huang Rui @ 2016-09-19 8:11 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Alex Deucher,
Christian König
Cc: Ken Wang, Huang Rui, Monk Liu
From: Huang Rui <Ray.Huang@amd.com>
Fix commit (ed22ee2 drm/amdgpu:changes of virtualization cases probe)
regression, remove si_get_virtual_caps because the callback is removed
at amdgpu_asic_funcs.
Signed-off-by: Huang Rui <Ray.Huang@amd.com>
Cc: Monk Liu <Monk.Liu@amd.com>
---
drivers/gpu/drm/amd/amdgpu/si.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/si.c b/drivers/gpu/drm/amd/amdgpu/si.c
index fee76b8..a0b6b7e 100644
--- a/drivers/gpu/drm/amd/amdgpu/si.c
+++ b/drivers/gpu/drm/amd/amdgpu/si.c
@@ -952,12 +952,6 @@ static void si_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v)
spin_unlock_irqrestore(&adev->smc_idx_lock, flags);
}
-static u32 si_get_virtual_caps(struct amdgpu_device *adev)
-{
- /* SI does not support SR-IOV */
- return 0;
-}
-
static struct amdgpu_allowed_register_entry si_allowed_read_registers[] = {
{GRBM_STATUS, false},
{GB_ADDR_CONFIG, false},
@@ -1133,7 +1127,6 @@ static const struct amdgpu_asic_funcs si_asic_funcs =
.get_xclk = &si_get_xclk,
.set_uvd_clocks = &si_set_uvd_clocks,
.set_vce_clocks = NULL,
- .get_virtual_caps = &si_get_virtual_caps,
};
static uint32_t si_get_rev_id(struct amdgpu_device *adev)
--
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] 5+ messages in thread
* RE: [PATCH] drm/amdgpu/si: remove unused interface which caused build issue
[not found] ` <1474272705-32265-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org>
@ 2016-09-19 8:26 ` Liu, Monk
2016-09-19 8:31 ` Christian König
2016-09-19 14:18 ` Deucher, Alexander
2 siblings, 0 replies; 5+ messages in thread
From: Liu, Monk @ 2016-09-19 8:26 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Deucher, Alexander,
Koenig, Christian
Cc: Wang, Ken, Huang, Ray
You can add my RB
-----Original Message-----
From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf Of Huang Rui
Sent: Monday, September 19, 2016 4:12 PM
To: amd-gfx@lists.freedesktop.org; Deucher, Alexander <Alexander.Deucher@amd.com>; Koenig, Christian <Christian.Koenig@amd.com>
Cc: Wang, Ken <Ken.Wang@amd.com>; Huang, Ray <Ray.Huang@amd.com>; Liu, Monk <Monk.Liu@amd.com>
Subject: [PATCH] drm/amdgpu/si: remove unused interface which caused build issue
From: Huang Rui <Ray.Huang@amd.com>
Fix commit (ed22ee2 drm/amdgpu:changes of virtualization cases probe) regression, remove si_get_virtual_caps because the callback is removed at amdgpu_asic_funcs.
Signed-off-by: Huang Rui <Ray.Huang@amd.com>
Cc: Monk Liu <Monk.Liu@amd.com>
---
drivers/gpu/drm/amd/amdgpu/si.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/si.c b/drivers/gpu/drm/amd/amdgpu/si.c index fee76b8..a0b6b7e 100644
--- a/drivers/gpu/drm/amd/amdgpu/si.c
+++ b/drivers/gpu/drm/amd/amdgpu/si.c
@@ -952,12 +952,6 @@ static void si_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v)
spin_unlock_irqrestore(&adev->smc_idx_lock, flags); }
-static u32 si_get_virtual_caps(struct amdgpu_device *adev) -{
- /* SI does not support SR-IOV */
- return 0;
-}
-
static struct amdgpu_allowed_register_entry si_allowed_read_registers[] = {
{GRBM_STATUS, false},
{GB_ADDR_CONFIG, false},
@@ -1133,7 +1127,6 @@ static const struct amdgpu_asic_funcs si_asic_funcs =
.get_xclk = &si_get_xclk,
.set_uvd_clocks = &si_set_uvd_clocks,
.set_vce_clocks = NULL,
- .get_virtual_caps = &si_get_virtual_caps,
};
static uint32_t si_get_rev_id(struct amdgpu_device *adev)
--
2.7.4
_______________________________________________
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] 5+ messages in thread
* Re: [PATCH] drm/amdgpu/si: remove unused interface which caused build issue
[not found] ` <1474272705-32265-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org>
2016-09-19 8:26 ` Liu, Monk
@ 2016-09-19 8:31 ` Christian König
[not found] ` <47fdee91-13bb-ff81-2fec-762238bfa32f-5C7GfCeVMHo@public.gmane.org>
2016-09-19 14:18 ` Deucher, Alexander
2 siblings, 1 reply; 5+ messages in thread
From: Christian König @ 2016-09-19 8:31 UTC (permalink / raw)
To: Huang Rui, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Alex Deucher
Cc: Ken Wang, Monk Liu
Am 19.09.2016 um 10:11 schrieb Huang Rui:
> From: Huang Rui <Ray.Huang@amd.com>
>
> Fix commit (ed22ee2 drm/amdgpu:changes of virtualization cases probe)
> regression, remove si_get_virtual_caps because the callback is removed
> at amdgpu_asic_funcs.
>
> Signed-off-by: Huang Rui <Ray.Huang@amd.com>
> Cc: Monk Liu <Monk.Liu@amd.com>
Patch is Reviewed-by: Christian König <christian.koenig@amd.com>.
Please always build with all HW generations enabled to catch such errors.
Christian.
> ---
> drivers/gpu/drm/amd/amdgpu/si.c | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/si.c b/drivers/gpu/drm/amd/amdgpu/si.c
> index fee76b8..a0b6b7e 100644
> --- a/drivers/gpu/drm/amd/amdgpu/si.c
> +++ b/drivers/gpu/drm/amd/amdgpu/si.c
> @@ -952,12 +952,6 @@ static void si_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v)
> spin_unlock_irqrestore(&adev->smc_idx_lock, flags);
> }
>
> -static u32 si_get_virtual_caps(struct amdgpu_device *adev)
> -{
> - /* SI does not support SR-IOV */
> - return 0;
> -}
> -
> static struct amdgpu_allowed_register_entry si_allowed_read_registers[] = {
> {GRBM_STATUS, false},
> {GB_ADDR_CONFIG, false},
> @@ -1133,7 +1127,6 @@ static const struct amdgpu_asic_funcs si_asic_funcs =
> .get_xclk = &si_get_xclk,
> .set_uvd_clocks = &si_set_uvd_clocks,
> .set_vce_clocks = NULL,
> - .get_virtual_caps = &si_get_virtual_caps,
> };
>
> static uint32_t si_get_rev_id(struct amdgpu_device *adev)
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] drm/amdgpu/si: remove unused interface which caused build issue
[not found] ` <47fdee91-13bb-ff81-2fec-762238bfa32f-5C7GfCeVMHo@public.gmane.org>
@ 2016-09-19 8:37 ` Huang Rui
0 siblings, 0 replies; 5+ messages in thread
From: Huang Rui @ 2016-09-19 8:37 UTC (permalink / raw)
To: Koenig, Christian
Cc: Deucher, Alexander, Wang, Ken, Liu, Monk,
amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
On Mon, Sep 19, 2016 at 04:31:18PM +0800, Koenig, Christian wrote:
> Am 19.09.2016 um 10:11 schrieb Huang Rui:
> > From: Huang Rui <Ray.Huang@amd.com>
> >
> > Fix commit (ed22ee2 drm/amdgpu:changes of virtualization cases probe)
> > regression, remove si_get_virtual_caps because the callback is removed
> > at amdgpu_asic_funcs.
> >
> > Signed-off-by: Huang Rui <Ray.Huang@amd.com>
> > Cc: Monk Liu <Monk.Liu@amd.com>
>
> Patch is Reviewed-by: Christian K?nig <christian.koenig@amd.com>.
>
> Please always build with all HW generations enabled to catch such errors.
>
Yep, agree. I guess CONFIG_DRM_AMDGPU_SI might not be set as default, so
some guys didn't find it.
Thanks,
Rui
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH] drm/amdgpu/si: remove unused interface which caused build issue
[not found] ` <1474272705-32265-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org>
2016-09-19 8:26 ` Liu, Monk
2016-09-19 8:31 ` Christian König
@ 2016-09-19 14:18 ` Deucher, Alexander
2 siblings, 0 replies; 5+ messages in thread
From: Deucher, Alexander @ 2016-09-19 14:18 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Koenig, Christian
Cc: Wang, Ken, Huang, Ray, Liu, Monk
> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf
> Of Huang Rui
> Sent: Monday, September 19, 2016 4:12 AM
> To: amd-gfx@lists.freedesktop.org; Deucher, Alexander; Koenig, Christian
> Cc: Wang, Ken; Huang, Ray; Liu, Monk
> Subject: [PATCH] drm/amdgpu/si: remove unused interface which caused
> build issue
>
> From: Huang Rui <Ray.Huang@amd.com>
>
> Fix commit (ed22ee2 drm/amdgpu:changes of virtualization cases probe)
> regression, remove si_get_virtual_caps because the callback is removed
> at amdgpu_asic_funcs.
>
> Signed-off-by: Huang Rui <Ray.Huang@amd.com>
> Cc: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/si.c | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/si.c
> b/drivers/gpu/drm/amd/amdgpu/si.c
> index fee76b8..a0b6b7e 100644
> --- a/drivers/gpu/drm/amd/amdgpu/si.c
> +++ b/drivers/gpu/drm/amd/amdgpu/si.c
> @@ -952,12 +952,6 @@ static void si_smc_wreg(struct amdgpu_device
> *adev, u32 reg, u32 v)
> spin_unlock_irqrestore(&adev->smc_idx_lock, flags);
> }
>
> -static u32 si_get_virtual_caps(struct amdgpu_device *adev)
> -{
> - /* SI does not support SR-IOV */
> - return 0;
> -}
> -
> static struct amdgpu_allowed_register_entry si_allowed_read_registers[] =
> {
> {GRBM_STATUS, false},
> {GB_ADDR_CONFIG, false},
> @@ -1133,7 +1127,6 @@ static const struct amdgpu_asic_funcs si_asic_funcs
> =
> .get_xclk = &si_get_xclk,
> .set_uvd_clocks = &si_set_uvd_clocks,
> .set_vce_clocks = NULL,
> - .get_virtual_caps = &si_get_virtual_caps,
> };
>
> static uint32_t si_get_rev_id(struct amdgpu_device *adev)
> --
> 2.7.4
>
> _______________________________________________
> 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] 5+ messages in thread
end of thread, other threads:[~2016-09-19 14:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-19 8:11 [PATCH] drm/amdgpu/si: remove unused interface which caused build issue Huang Rui
[not found] ` <1474272705-32265-1-git-send-email-ray.huang-5C7GfCeVMHo@public.gmane.org>
2016-09-19 8:26 ` Liu, Monk
2016-09-19 8:31 ` Christian König
[not found] ` <47fdee91-13bb-ff81-2fec-762238bfa32f-5C7GfCeVMHo@public.gmane.org>
2016-09-19 8:37 ` Huang Rui
2016-09-19 14:18 ` 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.