Re: [PATCH 2/9] drm/format-helper: Flip src/dst-format branches in blit helper

2022-12-20 Thread Javier Martinez Canillas
On 12/13/22 21:12, Thomas Zimmermann wrote: > Upcoming changes to the format conversion will mostly blit from > XRGB to some other format. So put the source format in blit's > outer branches to make the code more readable. For cases where > a format only changes its endianness, such as XRGB565,

[PATCH 2/9] drm/format-helper: Flip src/dst-format branches in blit helper

2022-12-13 Thread Thomas Zimmermann
Upcoming changes to the format conversion will mostly blit from XRGB to some other format. So put the source format in blit's outer branches to make the code more readable. For cases where a format only changes its endianness, such as XRGB565, introduce dedicated branches that handle this for a