[PATCH 2/2] drm/amdgpu: enlarge agp_start address into 48bit

Alex Deucher alexdeucher at gmail.com
Wed Dec 18 20:02:50 UTC 2019


On Wed, Dec 18, 2019 at 7:14 AM Frank.Min <Frank.Min at amd.com> wrote:
>
> enlarge agp_start address into 48bit with all bits set

Might want to add a note that the max range of the agp aperture is 48
bits.  With that fixed, the series is:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

>
> Change-Id: I36eb757310fa71555c8355f99f89c89fed306638
> Signed-off-by: Frank.Min <Frank.Min at amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> index a12f33c0f5df..bbcd11ac5bbb 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
> @@ -223,7 +223,7 @@ void amdgpu_gmc_agp_location(struct amdgpu_device *adev, struct amdgpu_gmc *mc)
>         u64 size_af, size_bf;
>
>         if (amdgpu_sriov_vf(adev)) {
> -               mc->agp_start = 0xffffffff;
> +               mc->agp_start = 0xffffffffffff;
>                 mc->agp_end = 0x0;
>                 mc->agp_size = 0;
>
> --
> 2.17.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list