1. 03 Jan, 2020 4 commits
  2. 02 Jan, 2020 1 commit
  3. 01 Jan, 2020 1 commit
  4. 27 Dec, 2019 2 commits
  5. 26 Dec, 2019 6 commits
  6. 22 Dec, 2019 2 commits
  7. 20 Dec, 2019 1 commit
  8. 19 Dec, 2019 11 commits
  9. 18 Dec, 2019 11 commits
  10. 17 Dec, 2019 1 commit
    • Linus Walleij's avatar
      drm/mcde: Some fixes to handling video mode · c8d4a560
      Linus Walleij authored
      The video DSI mode had not really been tested. These fixes makes
      it more likely to work on real hardware:
      - Put the active width (x width) in the right bits and the VSA
        (vertical sync active) in the right bits (those were swapped).
      - Calculate the packet sizes in bytes as in the vendor driver,
        rather than in bits. Test the calculations agains a
        spreadsheet and confirmed by debug prints to be reasonable.
      - Also verified the register values with relative confidence
        to register dumps from the Samsung GT-I8190 boot loader
        graphics. We are not identical but not off by far either.
      - Error out if the current mode and refresh frequency doesn't
        work out. (In the future we may simply want to scale down
        the vrefresh.)
      - Handle negative result in front/back/sync packages and fall
        back to zero like in the vendor driver.
      - Put in lots of clarifying comments and references to the
        documentation where the code is hard to understand.
      - Set the DSI_VID_VCA_SETTING2 field
        DSI_VID_VCA_SETTING2_MAX_LINE_LIMIT to blkline_pck - 6 as in
        the vendor driver and mask the field properly.
      - Set the DSI_VID_VCA_SETTING1 field
        DSI_VID_VCA_SETTING1_MAX_BURST_LIMIT to blkeol_pck - 6 to
        blkeol_duration - 6 as in the vendor driver.
      
      Cc: Stephan Gerhold <stephan@gerhold.net>
      Fixes: 5fc537bf ("drm/mcde: Add new driver for ST-Ericsson MCDE")
      Link: https://patchwork.freedesktop.org/patch/msgid/20191217150959.17215-1-linus.walleij@linaro.orgReviewed-by: default avatarStephan Gerhold <stephan@gerhold.net>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      c8d4a560