Re: [PATCH] video/hdmi: Reorder fields in 'struct hdmi_avi_infoframe'

2023-06-19 Thread Helge Deller
On 6/18/23 22:52, Christophe JAILLET wrote: Group some variables based on their sizes to reduce hole and avoid padding. On x86_64, this shrinks the size of 'struct hdmi_avi_infoframe' from 68 to 60 bytes. It saves a few bytes of memory and is more cache-line friendly. This also reduces the

[PATCH] video/hdmi: Reorder fields in 'struct hdmi_avi_infoframe'

2023-06-18 Thread Christophe JAILLET
Group some variables based on their sizes to reduce hole and avoid padding. On x86_64, this shrinks the size of 'struct hdmi_avi_infoframe' from 68 to 60 bytes. It saves a few bytes of memory and is more cache-line friendly. This also reduces the union hdmi_infoframe the same way.