Re: [Intel-gfx] [PATCH v2 6/6] drm/eld: add helpers to modify the SADs of an ELD

2023-10-31 Thread Golani, Mitulkumar Ajitkumar
> -Original Message- > From: Nikula, Jani > Sent: Tuesday, October 31, 2023 3:47 PM > To: dri-de...@lists.freedesktop.org > Cc: intel-gfx@lists.freedesktop.org; Golani, Mitulkumar Ajitkumar > ; Nikula, Jani > > Subject: [PATCH v2 6/6] drm/eld: add helpers to modify the SADs of an ELD >

[Intel-gfx] [PATCH v2 6/6] drm/eld: add helpers to modify the SADs of an ELD

2023-10-31 Thread Jani Nikula
Occasionally it's necessary for drivers to modify the SADs of an ELD, but it's not so cool to have drivers poke at the ELD buffer directly. Using the helpers to translate between 3-byte SAD and struct cea_sad, add ELD helpers to get/set the SADs from/to an ELD. v2: s/i/sad_index/ (Mitul) Cc: Mit