Permalink
Commits on Nov 10, 2012
  1. drm/omap: fix typo

    Rob Clark committed Nov 7, 2012
    The patch 'drm/omap: add support for ARCH_MULTIPLATFORM' had a small
    mistake, using GET_OMAP_REVISION() instead of GET_OMAP_TYPE.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Oct 30, 2012
  1. WIP: V2: syncobj updates

    Rob Clark committed May 16, 2012
     - v2 disable syncdbg traces
  2. Kernel changes for hwmod and omap_device initialization for GPU.

    hemanthariyani committed with Rob Clark Apr 30, 2012
    Change-Id: I4bd96e76af31d0991ce9e67b0c499f0d6f39a1a8
    Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
    
    [Rebase on 3.7]
    Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
  3. OMAP4: change default GPU clock source to PER DPLL

    Sebastien Jan committed with Rob Clark Jun 13, 2012
    POR for GPU Clock source is the PER DPLL. It permits selecting GPU
    freqs like 307MHz or 384MHz.
    
    Signed-off-by: Sebastien Jan <s-jan@ti.com>
    
    [Rebase on 3.7]
    Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
  4. WIP: drm/omap: add plugin API (v3)

    Rob Clark committed Apr 30, 2012
    v3: rebase on 3.7-rcX
Commits on Oct 29, 2012
  1. drm/imx: add support for ARCH_MULTIPLATFORM

    Rob Clark committed Oct 29, 2012
    No dependency on plat headers, so only needs Kconfig update to
    build for ARCH_MULTIPLATFORM.
    
    Signed-off-by: Rob Clark <rob@ti.com>
  2. drm/exynos: add support for ARCH_MULTIPLATFORM

    Rob Clark committed Oct 29, 2012
    Exynos does not seem to have any dependency on anything from
    platform headers so just needs Kconfig updated to build in
    ARCH_MULTIPLATFORM builds.
    
    Signed-off-by: Rob Clark <rob@ti.com>
  3. drm/omap: add support for ARCH_MULTIPLATFORM

    Rob Clark committed Oct 29, 2012
    Remove usage of plat/cpu.h and get information from platform data
    instead.  This enables omapdrm to be built with ARCH_MULTIPLATFORM.
    
    Signed-off-by: Rob Clark <rob@ti.com>
  4. drm/omap: Remove cpu_is_omapXXXX usage in DMM

    andygross committed with Rob Clark Oct 17, 2012
    Removed usage of the cpu_is_omapXXXX in the DMM driver.  This is no
    longer necessary as we can key off of the omap_dmm pointer that is
    only non-NULL if the device has been probed successfully.
    
    Signed-off-by: Andy Gross <andy.gross@ti.com>
  5. drm/omap: remove global drm_device ptr

    Rob Clark committed Oct 29, 2012
    Not actually used anymore.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Oct 25, 2012
  1. drm: atomic pageflip

    Rob Clark committed Sep 12, 2012
  2. drm/omap: update for atomic age

    Rob Clark committed Sep 27, 2012
  3. drm: add drm_crtc_state

    Rob Clark committed Oct 12, 2012
    Start breaking out the mutable state of the CRTC into it's own
    structure.  Plus add _check_state() and _set_property() helpers.
    This only moves the state that is related to scanout fb, which
    is needed for nuclear-pageflip.  The rest of the mutable state
    should be moved from drm_crtc to drm_crtc_state as part of the
    atomic-modeset implementation.
  4. drm: convert page_flip to properties

    Rob Clark committed Sep 12, 2012
    Use atomic properties mechanism for CRTC page_flip.  This by itself
    doesn't accomplish anything, but it avoids having multiple code
    paths to do the same thing when nuclear-pageflip and atomic-modeset
    are introduced.
  5. drm: add drm_plane_state

    Rob Clark committed Sep 13, 2012
    Break the mutable state of a plane out into a separate structure.
    This makes it easier to have some helpers for plane->set_property()
    and for checking for invalid params.  The idea is that individual
    drivers can wrap the state struct in their own struct which adds
    driver specific parameters, for easy build-up of state across
    multiple set_property() calls and for easy atomic commit or roll-
    back.
    
    The same should be done for CRTC, encoder, and connector, but this
    patch only includes the first part (plane).
  6. drm: convert plane to properties

    Rob Clark committed Sep 12, 2012
    Use atomic properties mechanism to set plane attributes.  This by
    itself doesn't accomplish anything, but it avoids having multiple
    code paths to do the same thing when nuclear-pageflip and atomic-
    modeset are introduced.
  7. drm: split property values out

    Rob Clark committed Sep 12, 2012
    Split property values out into a different struct, so we can later
    move property values into state structs.  This will allow the
    property values to stay in sync w/ the state updates which are
    either discarded or atomically committed.
  8. drm: add DRM_MODE_PROP_SIGNED property flag

    Rob Clark committed Sep 13, 2012
    Flag for range property types indicating that the value is a signed
    integer rather than unsigned.  For range properties, the signed flag
    will trigger use of signed integer comparisions, to handle negative
    values properly.
  9. drm: add DRM_MODE_PROP_DYNAMIC property flag

    Rob Clark committed Sep 13, 2012
    This indicates to userspace that the property is something that can
    be set dynamically without requiring a "test" step to check if the
    hw is capable.  This allows a userspace compositor, such as weston,
    to avoid an extra ioctl to check whether it needs to fall-back to
    GPU to composite some surface prior to submission of GPU render
    commands.
  10. drm: add object property type

    Rob Clark committed Sep 12, 2012
    An object property is an id (idr) for a drm mode object.  This
    will allow a property to be used set/get a framebuffer, CRTC, etc.
  11. drm: add atomic fxns

    Rob Clark committed Sep 10, 2012
    The 'atomic' mechanism allows for multiple properties to be updated,
    checked, and commited atomically.  This will be the basis of atomic-
    modeset and nuclear-pageflip.
    
    The basic flow is:
    
       state = dev->atomic_begin();
       for (... one or more ...)
          obj->set_property(obj, state, prop, value);
       if (dev->atomic_check(state))
          dev->atomic_commit(state, event);
       dev->atomic_end(state);
    
    The split of check and commit steps is to allow for ioctls with a
    test-only flag (which would skip the commit step).
    
    The atomic functions are mandatory, as they will end up getting
    called from enough places that it is easier not to have to bother
    with if-null checks everywhere.
  12. HACK: drm/omap: hack to use dispc_request_irq()/dispc_free_irq()

    Rob Clark committed Oct 10, 2012
    If we associate dispc hwmod w/ omapdrm then we could avoid this..
  13. WIP: drm/omap: use omapdss low lever API (v?)

    Rob Clark committed Jul 30, 2012
    This is still work in progress, but it nicely solves the omapdss vs drm
    impedence mismatches, and properly fixes unpin confusion vs GO bit status.
    As an added bonus, we also no longer leave the last overlay buffer pinned.
    Adding the previously missing vblank event handling for userspace should
    be pretty trivial now too.
    
    v1: initial version
    v2: Reshuffle mapping of kms to dss.. now it is plane->ovl, crtc->manager.
        The encoder is still a placeholder and connector is dssdev, but
        eventually encoder should map to dss encoder (DSI/DPI/VENC/HDMI)
        and connector to panel.
    v3: few cleanups, add debugfs, etc
    v4: rebase and fix some irq issues
    v5: rebase on "apply-test" version of omapdss
    v6: add error irq handlers
    v7: move the write access to dssdev (set_timings(), enable(), disable()
        to encoder, and use apply mechanism to sequence things properly
    v8: rebase on apply-test-6
    v9: update encoder.. call directly from apply in crtc to ensure correct
        sequencing
  14. OMAPDSS: fix some crashes..

    Rob Clark committed Oct 22, 2012
    mgr could be null, check_timings() can be called before we have
    hooked the output to an mgr..
    
    Also, DISPC_DIVISORo() BUG()s if called for channel-digit
  15. OMAPDSS: export debugfs fxns

    Rob Clark committed Oct 10, 2012
  16. drm/omap: only advertise rotation prop if supported

    Rob Clark committed Oct 25, 2012
    For hardware that does not have DMM/TILER, there is no rotation,
    so no point in getting userspace's hopes up.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Oct 22, 2012
  1. drm/omap: fix issue w/ fb attached to multiple CRTCs

    Rob Clark committed Sep 28, 2012
    When the fb is detached from one CRTC/plane, paddr was set back to
    zero.  But really we don't want to do this because the fb could still
    be attached to other CRTC/plane(s).  This originally worked like this
    to catch cases of freeing a pinned fb (but with the refcnt'ing this
    should no longer be needed).  Also, there is checking in the GEM code
    for freeing a pinned GEM object, so this extra level of checking is
    redundant.
    
    Signed-off-by: Rob Clark <rob@ti.com>
  2. drm: remove legacy drm_connector_property fxns

    Rob Clark committed Oct 12, 2012
    Replace references to and remove the connector property fxns, which
    have been superseded with the more general object property fxns:
    
      + drm_connector_attach_property -> drm_object_attach_property
      + drm_connector_property_set_value -> drm_object_property_set_value
      + drm_connector_property_get_value -> drm_object_property_get_value
    
    Signed-off-by: Rob Clark <rob@ti.com>
  3. drm/i2c: drm_connector_property -> drm_object_property

    Rob Clark committed Oct 12, 2012
    Signed-off-by: Rob Clark <rob@ti.com>
  4. drm/vmwgfx: drm_connector_property -> drm_object_property

    Rob Clark committed Oct 12, 2012
    Signed-off-by: Rob Clark <rob@ti.com>
  5. drm/udl: drm_connector_property -> drm_object_property

    Rob Clark committed Oct 12, 2012
    Signed-off-by: Rob Clark <rob@ti.com>
  6. drm/shmob: drm_connector_property -> drm_object_property

    Rob Clark committed Oct 12, 2012
    Signed-off-by: Rob Clark <rob@ti.com>
  7. drm/radeon: drm_connector_property -> drm_object_property

    Rob Clark committed Oct 12, 2012
    Signed-off-by: Rob Clark <rob@ti.com>
  8. drm/nouveau: drm_connector_property -> drm_object_property

    Rob Clark committed Oct 12, 2012
    Signed-off-by: Rob Clark <rob@ti.com>
  9. drm/gma500: drm_connector_property -> drm_object_property

    Rob Clark committed Oct 12, 2012
    Signed-off-by: Rob Clark <rob@ti.com>