drm/imx: Remove the bogus possible_clones setup
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 11 Feb 2020 16:22:05 +0000 (18:22 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 18 Mar 2020 16:38:27 +0000 (18:38 +0200)
It's not at all clear what cloning options this driver supports.
So let's just clear possible_clones instead of setting it to some
bogus value.

v2: Adjust the FIXME (Daniel)

Cc: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200211162208.16224-5-ville.syrjala@linux.intel.com
drivers/gpu/drm/imx/imx-drm-core.c

index da87c70..9e8e0b7 100644 (file)
@@ -139,8 +139,8 @@ int imx_drm_encoder_parse_of(struct drm_device *drm,
 
        encoder->possible_crtcs = crtc_mask;
 
-       /* FIXME: this is the mask of outputs which can clone this output. */
-       encoder->possible_clones = ~0;
+       /* FIXME: cloning support not clear, disable it all for now */
+       encoder->possible_clones = 0;
 
        return 0;
 }