[Intel-gfx] [PATCH] drm/i915: Fix DDC bus selection for multifunction SDVO
ajax at redhat.com
Mon Apr 26 07:51:17 PDT 2010
On Fri, 2010-04-23 at 16:16 -0400, Adam Jackson wrote:
> So, instead of that, let's just use the DDC bus the child device table
> tells us to use. I'm guessing at the bitmask and shifting from VBIOS
> dumps, but it can't possibly be worse.
> - /* Corresponds to SDVO_CONTROL_BUS_DDCx */
> - dev_priv->ddc_bus = 1 << num_bits;
> + sdvo->ddc_bus = (mapping->ddc_pin & 0xf0) >> 4;
This should probably be = 1 << ((mapping->ddc_pin & 0xf0) >> 4);
Still, do whatever the BIOS does here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the Intel-gfx