diff options
author | Tomohito Esaki <etom@igel.co.jp> | 2022-01-28 07:08:36 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2022-01-31 21:45:24 +0100 |
commit | 3d082157a24216ca084082ce421a37d14ecfcfad (patch) | |
tree | 962419386db9b5ef868d1f5be0dff0912402ca4c /include/drm/drm_mode_config.h | |
parent | drm: add support modifiers for drivers whose planes only support linear layout (diff) | |
download | linux-3d082157a24216ca084082ce421a37d14ecfcfad.tar.xz linux-3d082157a24216ca084082ce421a37d14ecfcfad.zip |
drm: remove allow_fb_modifiers
The allow_fb_modifiers flag is unnecessary since it has been replaced
with fb_modifiers_not_supported flag.
v3:
- change the order as follows:
1. add fb_modifiers_not_supported flag
2. add default modifiers
3. remove allow_fb_modifiers flag
v5:
- keep a sanity check in plane init func
Signed-off-by: Tomohito Esaki <etom@igel.co.jp>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220128060836.11216-4-etom@igel.co.jp
Diffstat (limited to 'include/drm/drm_mode_config.h')
-rw-r--r-- | include/drm/drm_mode_config.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h index 4a93dac91cf9..6b5e01295348 100644 --- a/include/drm/drm_mode_config.h +++ b/include/drm/drm_mode_config.h @@ -918,22 +918,6 @@ struct drm_mode_config { bool async_page_flip; /** - * @allow_fb_modifiers: - * - * Whether the driver supports fb modifiers in the ADDFB2.1 ioctl call. - * Note that drivers should not set this directly, it is automatically - * set in drm_universal_plane_init(). - * - * IMPORTANT: - * - * If this is set the driver must fill out the full implicit modifier - * information in their &drm_mode_config_funcs.fb_create hook for legacy - * userspace which does not set modifiers. Otherwise the GETFB2 ioctl is - * broken for modifier aware userspace. - */ - bool allow_fb_modifiers; - - /** * @fb_modifiers_not_supported: * * When this flag is set, the DRM device will not expose modifier |