Re: [PATCH] drm/simple-kms: Drop drm_simple_kms_format_mod_supported.

2021-01-25 Thread Mario Kleiner
On Mon, Jan 25, 2021 at 5:34 PM Ville Syrjälä wrote: > On Mon, Jan 25, 2021 at 04:32:48PM +0100, Mario Kleiner wrote: > > On Mon, Jan 25, 2021 at 1:13 PM Ville Syrjälä < > ville.syrj...@linux.intel.com> > > wrote: > > > > > On Sun, Jan 24, 2021 at 09:47:48PM +0100, Mario Kleiner wrote: > > > >

Re: [PATCH] drm/simple-kms: Drop drm_simple_kms_format_mod_supported.

2021-01-25 Thread Ville Syrjälä
On Mon, Jan 25, 2021 at 04:32:48PM +0100, Mario Kleiner wrote: > On Mon, Jan 25, 2021 at 1:13 PM Ville Syrjälä > wrote: > > > On Sun, Jan 24, 2021 at 09:47:48PM +0100, Mario Kleiner wrote: > > > The check was introduced to make sure that only the > > > DRM_FORMAT_MOD_LINEAR modifier is accepted

Re: [PATCH] drm/simple-kms: Drop drm_simple_kms_format_mod_supported.

2021-01-25 Thread Mario Kleiner
On Mon, Jan 25, 2021 at 1:13 PM Ville Syrjälä wrote: > On Sun, Jan 24, 2021 at 09:47:48PM +0100, Mario Kleiner wrote: > > The check was introduced to make sure that only the > > DRM_FORMAT_MOD_LINEAR modifier is accepted by tinydrm. > > > > However, if .format_mod_supported is not hooked up to >

Re: [PATCH] drm/simple-kms: Drop drm_simple_kms_format_mod_supported.

2021-01-25 Thread Ville Syrjälä
On Sun, Jan 24, 2021 at 09:47:48PM +0100, Mario Kleiner wrote: > The check was introduced to make sure that only the > DRM_FORMAT_MOD_LINEAR modifier is accepted by tinydrm. > > However, if .format_mod_supported is not hooked up to > drm_simple_kms_format_mod_supported then the core will > simply

[PATCH] drm/simple-kms: Drop drm_simple_kms_format_mod_supported.

2021-01-24 Thread Mario Kleiner
The check was introduced to make sure that only the DRM_FORMAT_MOD_LINEAR modifier is accepted by tinydrm. However, if .format_mod_supported is not hooked up to drm_simple_kms_format_mod_supported then the core will simply validate modifiers against the format_modifiers list passed into