Re: Help needed for unusual hack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 1 Aug, 2015 at 4:01 PM, Lukas Wunner <lukas@xxxxxxxxx> wrote:
Hi,

Thanks very much Lukas, I tried both


Change is_edp() to something like:

-	return intel_dig_port->base.type == INTEL_OUTPUT_EDP;
+	return intel_dig_port->base.type == INTEL_OUTPUT_EDP ||
+	       strncmp(intel_dp->base.name, "DP-1", 4) == 0;


This fails as ‘struct intel_dp’ has no member named ‘base’. Tried some variants, but I am clueless.. :-/



An alternative solution might be to modify intel_bios.c and change what
has been read vom VBT, see parse_ddi_port().

This seems easier, parse_ddi_port() assigns an 'is_edp' variable with
is_edp = is_dp && (child->common.device_type & DEVICE_TYPE_INTERNAL_CONNECTOR);

Assuming that setting it would suffice for my port to be detected as eDPI tried to change it to something like:
is_edp = is_dp && child->common.dvo_port == DVO_PORT_DPC;
or
is_edp = is_dp && (port == PORT_C);

is_edp = is_dp && port_name(port) == "DP-3"

since it's the third DP, but no success.

I must admit I am a bit clueless, but the solution seems within grasp....


Thanks very much

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux