On Mon, Feb 26, 2018 at 12:18 AM, Monk Liu <[email protected]> wrote: > Change-Id: I2865a11d1dded214de289787d334ec4a22b5db19 > Signed-off-by: Monk Liu <[email protected]>
Acked-by: Alex Deucher <[email protected]> > --- > drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c > b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c > index bc4bd5e..6839d93 100644 > --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c > @@ -673,7 +673,7 @@ static int gmc_v9_0_late_init(void *handle) > for(i = 0; i < AMDGPU_MAX_VMHUBS; ++i) > BUG_ON(vm_inv_eng[i] > 16); > > - if (adev->asic_type == CHIP_VEGA10) { > + if (adev->asic_type == CHIP_VEGA10 && !amdgpu_sriov_vf(adev)) { > r = gmc_v9_0_ecc_available(adev); > if (r == 1) { > DRM_INFO("ECC is active.\n"); > -- > 2.7.4 > > _______________________________________________ > amd-gfx mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
