Re: [Intel-gfx] [PATCH 4/5] drm/i915/hdmi: Refactor force_audio -> has_audio coupling

2014-09-03 Thread Daniel Vetter
On Tue, Sep 02, 2014 at 08:08:20PM +0100, Chris Wilson wrote: > On Tue, Sep 02, 2014 at 08:04:02PM +0100, Chris Wilson wrote: > > The routines for deciding whether we have audio (depending upon > > force_audio and the associated EDID) are common between detection and > > set-property. Refactor the

Re: [Intel-gfx] [PATCH 4/5] drm/i915/hdmi: Refactor force_audio -> has_audio coupling

2014-09-02 Thread Chris Wilson
On Tue, Sep 02, 2014 at 08:04:02PM +0100, Chris Wilson wrote: > The routines for deciding whether we have audio (depending upon > force_audio and the associated EDID) are common between detection and > set-property. Refactor the code to remove the duplication. > > Signed-off-by: Chris Wilson > --

[Intel-gfx] [PATCH 4/5] drm/i915/hdmi: Refactor force_audio -> has_audio coupling

2014-09-02 Thread Chris Wilson
The routines for deciding whether we have audio (depending upon force_audio and the associated EDID) are common between detection and set-property. Refactor the code to remove the duplication. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/intel_hdmi.c | 60 ++--