aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_debugfs.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2020-02-11 16:22:06 +0000
committerVille Syrjälä <[email protected]>2020-03-18 16:38:27 +0000
commit74d2aacbe84042d89f572a3112a146fca05bfcb1 (patch)
treebaed562789bef296e1e712398ab2b2ffec35f532 /drivers/gpu/drm/omapdrm/omap_debugfs.c
parentdrm/imx: Remove the bogus possible_clones setup (diff)
downloadkernel-74d2aacbe84042d89f572a3112a146fca05bfcb1.tar.gz
kernel-74d2aacbe84042d89f572a3112a146fca05bfcb1.zip
drm: Validate encoder->possible_clones
Many drivers are populating encoder->possible_clones wrong. Let's persuade them to get it right by adding some loud WARNs. We'll cross check the bits between any two encoders. So either both encoders can clone with the other, or neither can. We'll also complain about effectively empty possible_clones, and possible_clones containing bits for encoders that don't exist. v2: encoder->possible_clones now includes the encoder itelf v3: Move to drm_mode_config_validate() (Daniel) Document that you get a WARN when this is wrong (Daniel) Extract full_encoder_mask() v4: !! instead of ! (Daniel) Acked-by: Thomas Zimmermann <[email protected]> Cc: Daniel Vetter <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_debugfs.c')
0 files changed, 0 insertions, 0 deletions