1. 06 Apr, 2017 11 commits
  2. 05 Apr, 2017 14 commits
  3. 04 Apr, 2017 10 commits
  4. 03 Apr, 2017 5 commits
    • Dave Airlie's avatar
      Merge tag 'omapdrm-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-next · e1b489d2
      Dave Airlie authored
      omapdrm changes for 4.12
      
      Main changes include:
      
      * Add support for render nodes.
      * Refactor omapdss code to allow multiple DISPC implementations. This is pre-work for DSS6 support.
      * Fix replication logic bug, which caused RGB565 fb to be shown too dark on a 24bit display.
      * Improve detection of display stack readiness, which should remove the probe order issues.
      * Link panel-dpi with its backlight, so that they are turned on/off in sync.
      * Fix possibly incorrect setup of sync and data-enable signals.
      * Get rid of DRM_OMAP_NUM_CRTCS config option.
      
      * tag 'omapdrm-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (34 commits)
        drm/omap: Major omap_modeset_init() cleanup
        drm/omap: Remove the obsolete #define omap_plane _omap_plane hack
        drm/omap: Fix one ugly indentation style break left by coccinelle
        drm/omap: Rename enum omap_plane to enum omap_plane_id
        drm/omap: Get rid of DRM_OMAP_NUM_CRTCS config option
        drm/omap: fix crash on module unload
        drm/omap: use drm_atomic_helper_shutdown()
        drm/omap: fix display SYNC/DE flags
        drm/omap: dispc: improve debug print of display flags
        drm/omap: displays: panel-dpi: Support for handling backlight devices
        drm/omap: poll only connectors where the connect/disconnect can be checked
        drm/omap: display: Add displays in sorted order to the panel_list
        drm/omap: Use omapdss_stack_is_ready() to check that the display stack is up
        drm/omap: dss: Support for detecting display stack readiness
        drm/omap: dss: Functions to check components in the display/output list
        drm/omap: fix replication logic
        drm/omap: remove unused dispc_wb_enable & dispc_wb_is_enabled
        drm/omap: remove all EXPORT_SYMBOLs from dispc.c
        drm/omap: use dispc_ops
        drm/omap: fill dispc_ops
        ...
      e1b489d2
    • Jyri Sarha's avatar
      drm/omap: Major omap_modeset_init() cleanup · e8e13b15
      Jyri Sarha authored
      Cleanup overly complex omap_modeset_init(). The function is trying to
      support many unusual configuration, that have never been tested and
      are not supported by other parts of the dirver.
      
      After cleanup the init function creates exactly one connector,
      encoder, crtc, and primary plane per each connected dss-device. Each
      connector->encoder->crtc chain is expected to be separate and each
      crtc is connect to a single dss-channel. If the configuration does not
      match the expectations or exceeds the available resources, the
      configuration is rejected.
      Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      e8e13b15
    • Jyri Sarha's avatar
      drm/omap: Remove the obsolete #define omap_plane _omap_plane hack · 694c99cf
      Jyri Sarha authored
      Remove the obsolete "#define omap_plane _omap_plane" hack and other
      related hacks to get around the enum omap_plane colliding with struct
      omap_plane.
      Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
      Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      694c99cf
    • Jyri Sarha's avatar
      drm/omap: Fix one ugly indentation style break left by coccinelle · 273ffeaf
      Jyri Sarha authored
      Fix one ugly indentation style break left by the previous coccilnelle
      patch.
      Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
      Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      273ffeaf
    • Jyri Sarha's avatar
      drm/omap: Rename enum omap_plane to enum omap_plane_id · 864050c7
      Jyri Sarha authored
      The enum omap_plane conflicted with the same struct name for omapdrm
      plane private data. This rename should solve the conflict.
      
      The rename was implement with this very simple coccinelle patch:
      ------------------------
      @@
      @@
      enum
      -omap_plane
      +omap_plane_id
      ------------------------
      The patch was applied like this:
      spatch --sp-file <cocci_file> --all-includes --in-place --dir drivers/gpu/drm/omapdrm
      
      The above patch did not rename the actual enum definition. That was
      added manually on top of the spatch changes.
      Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
      Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      864050c7