Re: [Intel-gfx] [PATCH 1/2] drm/i915: Flatten intel_dp_check_mst_status() a bit

2020-04-20 Thread Ville Syrjälä
On Fri, Apr 17, 2020 at 02:51:39PM -0400, Lyude Paul wrote: > Reviewed-by: Lyude Paul > Thanks. Series pushed to dinq. > On Fri, 2020-04-17 at 18:27 +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Make intel_dp_check_mst_status() somewhat legible by humans. > > > > Note that the

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Flatten intel_dp_check_mst_status() a bit

2020-04-17 Thread Lyude Paul
Reviewed-by: Lyude Paul On Fri, 2020-04-17 at 18:27 +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Make intel_dp_check_mst_status() somewhat legible by humans. > > Note that the return value of drm_dp_mst_hpd_irq() is always > either 0 or -ENOMEM, and we never did anything with the

[Intel-gfx] [PATCH 1/2] drm/i915: Flatten intel_dp_check_mst_status() a bit

2020-04-17 Thread Ville Syrjala
From: Ville Syrjälä Make intel_dp_check_mst_status() somewhat legible by humans. Note that the return value of drm_dp_mst_hpd_irq() is always either 0 or -ENOMEM, and we never did anything with the latter so we can just ignore the whole thing. We can also get rid of the direct