aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx/imx-drm-core.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2020-02-11 16:22:05 +0000
committerVille Syrjälä <[email protected]>2020-03-18 16:38:27 +0000
commit9cb6a97621ae35fd84e93b6c8e4defcdc53161f2 (patch)
tree6786100c81bccf57381669033a68e84e29ae3bac /drivers/gpu/drm/imx/imx-drm-core.c
parentdrm/gma500: Sanitize possible_clones (diff)
downloadkernel-9cb6a97621ae35fd84e93b6c8e4defcdc53161f2.tar.gz
kernel-9cb6a97621ae35fd84e93b6c8e4defcdc53161f2.zip
drm/imx: Remove the bogus possible_clones setup
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 <[email protected]> Acked-by: Daniel Vetter <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/imx/imx-drm-core.c')
-rw-r--r--drivers/gpu/drm/imx/imx-drm-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c
index da87c70e413b..9e8e0b703498 100644
--- a/drivers/gpu/drm/imx/imx-drm-core.c
+++ b/drivers/gpu/drm/imx/imx-drm-core.c
@@ -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;
}