Re: Help needed for unusual hack

Lukas Wunner
2015-08-01T20:37:21Z

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@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