Re: [PATCH] drm/amdgpu: convert bios_hardcoded_edid to drm_edid

2024-07-23 Thread Alex Deucher
On Tue, Jul 23, 2024 at 12:49 PM Alex Deucher wrote: > > On Sun, Jun 16, 2024 at 2:32 PM Thomas Weißschuh wrote: > > > > On 2024-06-16 11:12:03+, Thomas Weißschuh wrote: > > > Instead of manually passing around 'struct edid *' and its size, > > > use 'struct drm_edid', which encapsulates a va

Re: [PATCH] drm/amdgpu: convert bios_hardcoded_edid to drm_edid

2024-07-23 Thread Alex Deucher
On Sun, Jun 16, 2024 at 2:32 PM Thomas Weißschuh wrote: > > On 2024-06-16 11:12:03+, Thomas Weißschuh wrote: > > Instead of manually passing around 'struct edid *' and its size, > > use 'struct drm_edid', which encapsulates a validated combination of > > both. > > > > As the drm_edid_ can hand

Re: [PATCH] drm/amdgpu: convert bios_hardcoded_edid to drm_edid

2024-07-20 Thread Thomas Weißschuh
Hi amdgpu maintainers, did you get a chance to look at the patch and the suspected bug? Thanks, Thomas On 2024-06-16 20:14:45+, Thomas Weißschuh wrote: > On 2024-06-16 11:12:03+, Thomas Weißschuh wrote: > > Instead of manually passing around 'struct edid *' and its size, > > use 'struct

Re: [PATCH] drm/amdgpu: convert bios_hardcoded_edid to drm_edid

2024-06-16 Thread Thomas Weißschuh
On 2024-06-16 11:12:03+, Thomas Weißschuh wrote: > Instead of manually passing around 'struct edid *' and its size, > use 'struct drm_edid', which encapsulates a validated combination of > both. > > As the drm_edid_ can handle NULL gracefully, the explicit checks can be > dropped. > > Also sa

[PATCH] drm/amdgpu: convert bios_hardcoded_edid to drm_edid

2024-06-16 Thread Thomas Weißschuh
Instead of manually passing around 'struct edid *' and its size, use 'struct drm_edid', which encapsulates a validated combination of both. As the drm_edid_ can handle NULL gracefully, the explicit checks can be dropped. Also save a few characters by transforming '&array[0]' to the equivalent 'ar