Re: [Intel-gfx] [PATCH] drm/i915: add port parameter to intel_hdmi_init

2012-07-17 Thread Daniel Vetter
On Thu, Jul 12, 2012 at 04:49:34PM -0300, Paulo Zanoni wrote: > 2012/7/12 Daniel Vetter : > > Instead of having a giant if cascade to figure this out according to > > the passed-in register. We could do quite a bit more cleaning up and > > all by using the port at more places, but I think this shou

Re: [Intel-gfx] [PATCH] drm/i915: add port parameter to intel_hdmi_init

2012-07-12 Thread Paulo Zanoni
2012/7/12 Daniel Vetter : > Instead of having a giant if cascade to figure this out according to > the passed-in register. We could do quite a bit more cleaning up and > all by using the port at more places, but I think this should be part > of a bigger rework to introduce a struct intel_digital_po

[Intel-gfx] [PATCH] drm/i915: add port parameter to intel_hdmi_init

2012-07-12 Thread Daniel Vetter
Instead of having a giant if cascade to figure this out according to the passed-in register. We could do quite a bit more cleaning up and all by using the port at more places, but I think this should be part of a bigger rework to introduce a struct intel_digital_port which would keep track of all t