Re: [PATCH] drm/amdgpu: Handle null atom context in VBIOS info ioctl

2023-09-05 Thread Alex Deucher
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_context struct is null. > > Ad

RE: [PATCH] drm/amdgpu: Handle null atom context in VBIOS info ioctl

2023-09-05 Thread Russell, Kent
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

Re: [PATCH] drm/amdgpu: Handle null atom context in VBIOS info ioctl

2023-09-05 Thread Francis, David
uesday, 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 Francis <mailto:

Re: [PATCH] drm/amdgpu: Handle null atom context in VBIOS info ioctl

2023-09-05 Thread Alex Deucher
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 > --- >