1. 03 Jan, 2020 3 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 2 commits
    • 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
    • Andy Shevchenko's avatar
      drm/drm_panel: Fix EXPORT of drm_panel_of_backlight() one more time · 4a34a9dc
      Andy Shevchenko authored
      The initial commit followed by the fix didn't
      take into consideration the case:
      
      CONFIG_DRM_PANEL=y
      CONFIG_BACKLIGHT_CLASS_DEVICE=m
      CONFIG_DRM_I915=y
      
      where symbol devm_of_find_backlight() is not reachable from DRM subsystem.
      Quick fix is to avoid drm_panel_of_backlight() from exporting in such case.
      
      Fixes: 907aa265 ("drm/drm_panel: fix EXPORT of drm_panel_of_backlight")
      Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Cc: Sean Paul <sean@poorly.run>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Daniel Vetter <daniel@ffwll.ch>
      Cc: Maxime Ripard <mripard@kernel.org>
      Cc: dri-devel@lists.freedesktop.org
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191217140721.42432-1-andriy.shevchenko@linux.intel.com
      4a34a9dc