From: "Christian König" <ckoenig.leichtzumerken@gmail.com>
To: Alex Deucher <alexander.deucher@amd.com>, amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/amdgpu/gmc6: fix DMA mask
Date: Thu, 28 Oct 2021 09:07:09 +0200 [thread overview]
Message-ID: <761d06e0-c8f7-02da-2c87-9105af0e426a@gmail.com> (raw)
In-Reply-To: <20211027182212.1484689-1-alexander.deucher@amd.com>
Am 27.10.21 um 20:22 schrieb Alex Deucher:
> The DMA mask on SI parts is 40 bits not 44. Looks like a copy
> paste typo.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
> index 0e81e03e9b49..a9354cb2d639 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
> @@ -841,7 +841,7 @@ static int gmc_v6_0_sw_init(void *handle)
>
> adev->gmc.mc_mask = 0xffffffffffULL;
>
> - r = dma_set_mask_and_coherent(adev->dev, DMA_BIT_MASK(44));
> + r = dma_set_mask_and_coherent(adev->dev, DMA_BIT_MASK(40));
> if (r) {
> dev_warn(adev->dev, "No suitable DMA available.\n");
> return r;
prev parent reply other threads:[~2021-10-28 7:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-27 18:22 [PATCH] drm/amdgpu/gmc6: fix DMA mask Alex Deucher
2021-10-27 18:23 ` Alex Deucher
2021-10-27 22:19 ` Paul Menzel
2021-10-28 8:32 ` Paul Menzel
2021-10-28 10:06 ` Paul Menzel
2021-10-28 14:14 ` Alex Deucher
2021-10-28 7:07 ` Christian König [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=761d06e0-c8f7-02da-2c87-9105af0e426a@gmail.com \
--to=ckoenig.leichtzumerken@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox