diff options
author | 2020-02-11 18:22:07 +0200 | |
---|---|---|
committer | 2020-03-18 18:38:27 +0200 | |
commit | 0df10823743311f31a067c26e2a3c6fa6dc867e9 (patch) | |
tree | 11410c875329a1963693e1a8c59b2352cd4e15d1 /drivers/gpu/drm/lima | |
parent | drm: Validate encoder->possible_clones (diff) | |
download | linux-dev-0df10823743311f31a067c26e2a3c6fa6dc867e9.tar.xz linux-dev-0df10823743311f31a067c26e2a3c6fa6dc867e9.zip |
drm: Validate encoder->possible_crtcs
WARN if the encoder possible_crtcs is effectively empty or contains
bits for non-existing crtcs.
v2: Move to drm_mode_config_validate() (Daniel)
Make the docs say we WARN when this is wrong (Daniel)
Extract full_crtc_mask()
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200211162208.16224-7-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/lima')
0 files changed, 0 insertions, 0 deletions