Re: [RFC PATCH 05/20] drm: Replace instances of drm_format_info by drm_get_format_info

2019-03-20 Thread Paul Kocialkowski
Hi, Le mardi 19 mars 2019 à 22:57 +0100, Maxime Ripard a écrit : > drm_get_format_info directly calls into drm_format_info, but takes directly > a struct drm_mode_fb_cmd2 pointer, instead of the fourcc directly. It's > shorter to not dereference it, and we can customise the behaviour at the >

[RFC PATCH 05/20] drm: Replace instances of drm_format_info by drm_get_format_info

2019-03-19 Thread Maxime Ripard
drm_get_format_info directly calls into drm_format_info, but takes directly a struct drm_mode_fb_cmd2 pointer, instead of the fourcc directly. It's shorter to not dereference it, and we can customise the behaviour at the driver level if we want to, so let's switch to it where it makes sense.