Re: PROBLEM: Intel HDMI output busticated on 4.4 (regression)

From: Nick Bowler
Date: Tue Feb 09 2016 - 13:02:22 EST


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.

Thanks,
Nick