> To: Francis, David
> Cc: amd-gfx@lists.freedesktop.org
> Subject: Re: [PATCH] drm/amdgpu: Handle null atom context in VBIOS info ioctl
>
> On Tue, Sep 5, 2023 at 10:50 AM David Francis wrote:
>
> On some APU systems, there is no atom context and so the
> atom_contex
soon anyways, we may as well start using
memset now and in all future patches.
Kent
From: Francis, David
Sent: Tuesday, September 5, 2023 11:38 AM
To: Russell, Kent ; amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/amdgpu: Handle null atom context in VBIOS info ioctl
[AMD Official Use
Deucher
Sent: Tuesday, September 5, 2023 10:53 AM
To: Francis, David <mailto:david.fran...@amd.com>
Cc: amd-gfx@lists.freedesktop.org<mailto:amd-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/amdgpu: Handle null atom context in VBIOS info ioctl
On Tue, Sep 5, 2023 at 10:50 AM David Franc
On Tue, Sep 5, 2023 at 10:50 AM David Francis wrote:
>
> On some APU systems, there is no atom context and so the
> atom_context struct is null.
>
> Add a check to the VBIOS_INFO branch of amdgpu_info_ioctl
> to handle this case, returning all zeroes.
>
> Signed-off-by: David Francis
> ---
> dri