On Tue, 09 Feb 2016, Nick Bowler <nbowler@xxxxxxxxxx> wrote: > On 2/9/16, Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> wrote: >> BTW I'm not at all convinced about the current live status bit defines >> we have for g4x. Supposedly someone tested them and found that they >> don't match the spec, but IIRC when I tried them on one g4x machine >> here, they did match the spec (well, at least for the ports present >> on that particular board). >> >> So something like this may or may not help: >> >> diff --git a/drivers/gpu/drm/i915/i915_reg.h >> b/drivers/gpu/drm/i915/i915_reg.h >> index 188ad5de020f..80c08016e522 100644 >> --- a/drivers/gpu/drm/i915/i915_reg.h >> +++ b/drivers/gpu/drm/i915/i915_reg.h >> @@ -3302,9 +3302,9 @@ enum skl_disp_power_wells { >> * Please check the detailed lore in the commit message for for >> experimental >> * evidence. >> */ >> -#define PORTD_HOTPLUG_LIVE_STATUS_G4X (1 << 29) >> +#define PORTD_HOTPLUG_LIVE_STATUS_G4X (1 << 27) >> #define PORTC_HOTPLUG_LIVE_STATUS_G4X (1 << 28) >> -#define PORTB_HOTPLUG_LIVE_STATUS_G4X (1 << 27) >> +#define PORTB_HOTPLUG_LIVE_STATUS_G4X (1 << 29) >> /* VLV DP/HDMI bits again match Bspec */ >> #define PORTD_HOTPLUG_LIVE_STATUS_VLV (1 << 27) >> #define PORTC_HOTPLUG_LIVE_STATUS_VLV (1 << 28) > > Well, I applied this on 4.5-rc3 and it seems to fix things. Ville, please do a proper patch, using your best judgement on elk vs. ctg difference. BR, Jani. > > Thanks, > Nick > _______________________________________________ > dri-devel mailing list > dri-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Jani Nikula, Intel Open Source Technology Center _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel