[Intel-gfx] Help needed for unusual hack

Lukas Wunner lukas at wunner.de
Sat Aug 1 13:37:16 PDT 2015


Hi,

On Sat, Aug 01, 2015 at 08:49:55PM +0100, harrykipper wrote:
> On Sat, 1 Aug, 2015 at 4:01 PM, Lukas Wunner <lukas at wunner.de> wrote:
> >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.. :-/

Sorry, intel_dp->attached_connector->base.name

You may also need to modify intel_dp_is_edp().

HTH,

Lukas


More information about the Intel-gfx mailing list