Hi Carlos,

Em 27/06/2023 15:22, Carlos Eduardo Gallo Filho escreveu:
[...]

So, replace each drm_framebuffer_plane_{width,height} and
fb_plane_{width,height} call to drm_format_info_plane_{width,height}
and remove them.


I see that with this replace, there's a small code change from

        return DIV_ROUND_UP(width, format->hsub);

to
        return width / info->hsub;

is there any case that the replaced function will give different results?

Reply via email to