1. 06 12月, 2016 1 次提交
  2. 19 10月, 2016 3 次提交
  3. 10 10月, 2016 31 次提交
  4. 07 10月, 2016 5 次提交
    • E
      drm/vc4: Add support for double-clocked modes. · dfccd937
      Eric Anholt 提交于
      Now that we have infoframes to report the pixel repeat flag, we can
      start using it.  Fixes locking the 720x480i and 720x576i modes on my
      Dell 2408WFP.  Like the 1920x1080i case, they don't fit properly on
      the screen, though.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      dfccd937
    • E
      drm/vc4: Set up the AVI and SPD infoframes. · 21317b3f
      Eric Anholt 提交于
      Fixes a purple bar on the left side of the screen with my Dell
      2408WFP.  It will also be required for supporting the double-clocked
      video modes.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      21317b3f
    • E
      drm/vc4: Fix support for interlaced modes on HDMI. · 682e62c4
      Eric Anholt 提交于
      We really do need to be using the halved V fields.  I had been
      confused by the code I was using as a reference because it stored
      halved vsync fields but not halved vdisplay, so it looked like I only
      needed to divide vdisplay by 2.
      
      This reverts part of Mario's timestamping fixes that prevented
      CRTC_HALVE_V from applying, and instead adjusts the timestamping code
      to not use the crtc field in that case.
      
      Fixes locking of 1920x1080x60i on my Dell 2408WFP.  There are black
      bars on the top and bottom, but I suspect that might be an
      under/overscan flags problem as opposed to video timings.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      682e62c4
    • E
      drm/vc4: Increase timeout for HDMI_SCHEDULER_CONTROL changes. · 2b29bf16
      Eric Anholt 提交于
      Fixes occasional debug spew at boot when connected directly through
      HDMI, and probably confusing the HDMI state machine when we go trying
      to poke registers for the enable sequence too soon.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      2b29bf16
    • E
      drm/vc4: Fall back to using an EDID probe in the absence of a GPIO. · 9d44abbb
      Eric Anholt 提交于
      On Pi0/1/2, we use an external GPIO line for hotplug detection, since
      the HDMI_HOTPLUG register isn't connected to anything.  However, with
      the Pi3 the HPD GPIO line has moved off to a GPIO expander that will
      be tricky to get to (the firmware is constantly polling the expander
      using i2c0, so we'll need to coordinate with it).
      
      As a stop-gap, if we don't have a GPIO line, use an EDID probe to
      detect connection.  Fixes HDMI display on the pi3.
      Signed-off-by: NEric Anholt <eric@anholt.net>
      9d44abbb