Re: [PATCH v2 1/9] drm/fb-helper: Eliminate the .best_encoder() usage

2018-07-05 Thread Ville Syrjälä
On Thu, Jun 28, 2018 at 11:27:07AM -0400, Alex Deucher wrote: > On Thu, Jun 28, 2018 at 9:13 AM, Ville Syrjala > wrote: > > From: Ville Syrjälä > > > > Instead of using the .best_encoder() hook to figure out whether a given > > connector+crtc combo will work, let's instead do what userspace does

Re: [PATCH v2 1/9] drm/fb-helper: Eliminate the .best_encoder() usage

2018-06-28 Thread Alex Deucher
On Thu, Jun 28, 2018 at 9:13 AM, Ville Syrjala wrote: > From: Ville Syrjälä > > Instead of using the .best_encoder() hook to figure out whether a given > connector+crtc combo will work, let's instead do what userspace does and > just iterate over all the encoders for the connector, and then check

[PATCH v2 1/9] drm/fb-helper: Eliminate the .best_encoder() usage

2018-06-28 Thread Ville Syrjala
From: Ville Syrjälä Instead of using the .best_encoder() hook to figure out whether a given connector+crtc combo will work, let's instead do what userspace does and just iterate over all the encoders for the connector, and then check each crtc against each encoder's possible_crtcs bitmask. v2: A