Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

intelfb: add preliminary i2c support

[05/07] intelfb: add output fields to dinfo.

Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>

authored by

Dennis Munsie and committed by
Dave Airlie
dd696ec8 399fb431

+9
+9
drivers/video/intelfb/intelfb.h
··· 119 119 /* Intel agpgart driver */ 120 120 #define AGP_PHYSICAL_MEMORY 2 121 121 122 + /* store information about an Ixxx DVO */ 123 + /* The i830->i865 use multiple DVOs with multiple i2cs */ 124 + /* the i915, i945 have a single sDVO i2c bus - which is different */ 125 + #define MAX_OUTPUTS 6 126 + 122 127 /* these are outputs from the chip - integrated only 123 128 external chips are via DVO or SDVO output */ 124 129 #define INTELFB_OUTPUT_UNUSED 0 ··· 349 344 350 345 /* index into plls */ 351 346 int pll_index; 347 + 348 + /* outputs */ 349 + int num_outputs; 350 + struct intelfb_output_rec output[MAX_OUTPUTS]; 352 351 }; 353 352 354 353 #define IS_I9XX(dinfo) (((dinfo)->chipset == INTEL_915G)||(dinfo->chipset == INTEL_915GM)||((dinfo)->chipset == INTEL_945G)||(dinfo->chipset==INTEL_945GM))