Re: [PATCH v2 6/6] drm: Validate encoder->possible_crtcs

2020-02-07 Thread Ville Syrjälä
On Fri, Feb 07, 2020 at 05:39:26PM +0100, Daniel Vetter wrote: > On Fri, Feb 07, 2020 at 03:59:50PM +0200, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > WARN if the encoder possible_crtcs is effectively empty or contains > > bits for non-existing crtcs. > > > > TODO: Or should we perhapst

Re: [PATCH v2 6/6] drm: Validate encoder->possible_crtcs

2020-02-07 Thread Daniel Vetter
On Fri, Feb 07, 2020 at 03:59:50PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > WARN if the encoder possible_crtcs is effectively empty or contains > bits for non-existing crtcs. > > TODO: Or should we perhapst just filter out any bit for a > non-exisiting crtc? > > Cc: Thomas Zimmerma