25 Apr, 2014

1 commit

  • The hw cursor is relatively adept at triggering underflows, which
    manifest as a "blue flash" (since blue is configured as the underflow
    color). Juggle a few things around to tighten up the timing for setting
    cursor registers in DONE irq.

    And most importantly, don't ever disable the hw cursor. Instead flip it
    to a blank/empty cursor. This seems far more reliable, as even simply
    clearing the cursor-enable bit (with no other updates in previous/
    following frames) can in some cases cause underflow.

    v1: original
    v2: add missing locking spotted by Micah

    Cc: Micah Richert
    Signed-off-by: Rob Clark

    Rob Clark
     

10 Jan, 2014

4 commits

  • The HDMI block is basically the same between older SoC's with mdp4
    display controller, and newer ones with mdp5.

    So mostly this consists of better abstracting out the different sets of
    regulators, clks, etc. In particular, for regulators and clks we can
    split it up by what is needed for hot plug detect to work, and what is
    needed to light up the display.

    Also, 8x74 has a new phy.. a very simple one, but split out into a
    different mmio space. And with mdp5, the irq is shared with mdp, so we
    don't directly register our own irq handler.

    Signed-off-by: Rob Clark

    Rob Clark
     
  • We'll want basically the same thing for mdp5, so refactor it out so it
    can be shared.

    Signed-off-by: Rob Clark

    Rob Clark
     
  • This can be shared between mdp4 and mdp5. Both use the same set of
    parameters to describe the format to the hw.

    Signed-off-by: Rob Clark

    Rob Clark
     
  • There are some little bits and pieces that mdp4 and mdp5 can share, so
    move things around so that we can have both in a common parent
    directory.

    Signed-off-by: Rob Clark

    Rob Clark