Permalink
Commits on Jan 11, 2013
  1. NEWS: Bump version to 0.4.3

    robclark committed Jan 11, 2013
    Signed-off-by: Rob Clark <robdclark@gmail.com>
  2. dri2: fix potential loop issue with triple buffer flip

    robclark committed Jan 11, 2013
    Signed-off-by: Rob Clark <robdclark@gmail.com>
Commits on Nov 27, 2012
  1. remove unneeded DRI1 dependency in configure.ac

    robclark committed Nov 27, 2012
    Signed-off-by: Rob Clark <robdclark@gmail.com>
Commits on Oct 23, 2012
  1. fix issue on pre-rotation kernel

    Rob Clark committed Oct 23, 2012
    If kernel does not support rotation, then we should simply not use
    rotation, rather than just failing.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Oct 16, 2012
  1. dri2: fix some leaks

    Rob Clark committed Oct 16, 2012
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Oct 15, 2012
  1. NEWS: Bump version to 0.4.2

    Rob Clark committed Oct 15, 2012
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Oct 9, 2012
  1. make-dist fixes

    Rob Clark committed Oct 9, 2012
    Don't forget to include headers.  Also add a couple missing entries
    to .gitignore.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Oct 6, 2012
  1. NEWS: Bump version to 0.4.1

    Rob Clark committed Oct 6, 2012
    Signed-off-by: Rob Clark <rob@ti.com>
  2. fix ScreenInit -> CloseScreen -> ScreenInit

    Rob Clark committed Oct 6, 2012
    If the screen gets closed and re-init'd, we'd hit a null ptr for
    pOMAP->scanout, because scanout size was not re-initialized, causing
    the second drmmode_reallocate_scanout() to be a no-op.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Oct 5, 2012
  1. remove miInitializeBackingStore() call

    Rob Clark committed Oct 5, 2012
    It is no-op these days, and removed from latest xserver.
    
    Signed-off-by: Rob Clark <rob@ti.com>
  2. remove some unused headers

    Rob Clark committed Oct 5, 2012
    Should fix a build break w/ some headers removed from xserver.. these
    headers where anyways unneeded.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Sep 30, 2012
  1. fix multi-display + rotation

    Rob Clark committed Sep 30, 2012
    If the fb is reallocated due to rotated CRTC in drmmode_set_mode_major()
    then we need to reconfigure the CRTCs that are torn down by the kernel
    when the previous fb was destroyed.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Sep 27, 2012
  1. fix multi-display

    Rob Clark committed Sep 27, 2012
    Don't unconditionally delete the fb when setting crtc.  With multiple
    displays this will tear down the crtc's that are already configured.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Aug 30, 2012
  1. add EnableDisableFBAccess to compat-api

    Rob Clark committed Aug 30, 2012
    Fixes build break w/ latest xserver:
    
    drmmode_display.c: In function 'drmmode_reallocate_scanout':
    drmmode_display.c:1149:4: error: passing argument 1 of 'pScrn->EnableDisableFBAccess' makes pointer from integer without a cast [-Werror]
    drmmode_display.c:1149:4: note: expected 'ScrnInfoPtr' but argument is of type 'int'
    drmmode_display.c:1183:4: error: passing argument 1 of 'pScrn->EnableDisableFBAccess' makes pointer from integer without a cast [-Werror]
    drmmode_display.c:1183:4: note: expected 'ScrnInfoPtr' but argument is of type 'int'
    cc1: all warnings being treated as errors
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Aug 23, 2012
  1. omap: add support for PlatformProbe

    rsalveti committed with Rob Clark Aug 23, 2012
    Since xorg 1.12.99.901 we now have support for platform devices, which
    is already responsible for looking over the devices from udev, and
    setting up the device attributes, entity and platform slot, simplifying
    the probe method.
    
    The old probe function is still valid, and also used in case there's no
    platform support, so this change only affects users building the driver
    agains the latest xorg release.
    
    Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
    Signed-off-by: Rob Clark <rob@ti.com>
  2. xrandr rotation

    Rob Clark committed Mar 8, 2012
    If XF86_CRTC_VERSION >= 4, on platforms with dmm/tiler (OMAP4+),
    use tiled buffers for scanout buffer to enable rotatated and/or
    mirrored scanout.
    
    This utilizes the RFC crtc/plane properties support to configure
    rotation.  Tiled buffers are only used if rotation is enabled.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Aug 6, 2012
  1. dri2: fix multi-drawable flip confusion

    Rob Clark committed Aug 6, 2012
    A flip pending on the fullscreen drawable shouldn't effect a swap on
    a windowed drawable.  This shows up if using a GL compositing window
    manager (like compiz) compositing a 3d app.  We still need to keep
    track of pending flips globally (per display), but use a per-drawable
    counter in the decision to queue up.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Jun 20, 2012
  1. NEWS: Bump version to 0.4.0

    Rob Clark committed Jun 20, 2012
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Jun 18, 2012
  1. dri2: implement triple buffering

    Rob Clark committed Jun 17, 2012
    Add support for triple buffering.  Although in this case it is triggered
    by the client requesting a third buffer, so the client is in control of
    when to use triple vs. double buffering.  This way the client can make
    it's own latency vs throughput decision.
    
    Signed-off-by: Rob Clark <rob@ti.com>
  2. dri2: don't keep fb_id

    Rob Clark committed Jun 16, 2012
    When the client re-requests buffers, the front buffer is always destroyed
    and recreated, and if that is drmModeRmFB()'ing the front buffer, that
    causes problems.  This was hidden by a bug that we didn't exchange the
    fb_id so we were always flipping to the same front buffer.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Jun 17, 2012
  1. omap: finish port to compat API

    Rob Clark committed Jun 17, 2012
    updating the EXA hooks was missed.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Jun 16, 2012
  1. omap: port to compat server API.

    Rob Clark committed Jun 16, 2012
    This ports to the new server API.
    
    Signed-off-by: Rob Clark <rob@ti.com>
Commits on Jun 13, 2012
  1. dri2: turn vblank error into a WARNING

    Frederic Plourde committed Jun 13, 2012
Commits on Apr 21, 2012
  1. dri2: block close-screen until flips complete

    Rob Clark committed Apr 21, 2012
    If CloseScreen happens while we are waiting for a page_flip event, we
    need to block the CloseScreen until after the page_flip is processed
    to avoid deref'ing the screen ptr after the screen is closed.
  2. exa: fix double free of scanout bo

    Rob Clark committed Apr 20, 2012
    When the screen is torn down and the screen pixmap destroyed, we
    should not delete the bo, as it is freed elsewhere.
    
    TODO: add refcnting in libdrm_omap so this can be handled in a
    cleaner way.
  3. dri2: don't attempt to re-allocate scanout buffer

    Rob Clark committed Apr 20, 2012
    The scanout buffer is already contiguous (scanout capable), and
    re-allocating it causes pOMAP->scanout to be a dangling pointer.
  4. dri2: hold extra buffer ref during swap

    Rob Clark committed Apr 20, 2012
    It is possible that the client detaches while we are waiting for the
    page_flip event.  Use ref counting on dri2 buffer to avoid freeing
    a buffer before the page_flip event is processed.
Commits on Apr 16, 2012
  1. dri2: don't exchangebufs if blit

    Rob Clark committed Apr 16, 2012
    In the blit path, we don't actually swap back and front buffers.
Commits on Apr 14, 2012
  1. exa: fix double free of scanout bo on resize

    Rob Clark committed Apr 13, 2012
    The scanout buffer free'ing for the screen pixmap is handled elsewhere.
  2. dri2: send proper swap-type back to client

    Rob Clark committed Apr 12, 2012
    The dri2 client needs to know if we flipped or blit so it can
    properly keep track of which buffer is the active back buffer.
  3. dri2: cleanup flip/exchange logic

    Rob Clark committed Apr 12, 2012
Commits on Mar 5, 2012
  1. Merge pull request #1 from vstehle/vincent/5432-sgx

    robclark committed Mar 5, 2012
    Add support for OMAP5430 and OMAP5432
  2. Add support for OMAP5430 and OMAP5432

    vstehle committed Mar 5, 2012
    Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
Commits on Feb 22, 2012
  1. fix vanishing cursor bug

    Rob Clark committed Feb 22, 2012
    Fixes a small logic bug (drmmode_hide_cursor() sets cursor->visble to
    false) which would result in cursor getting left in a disabled state
    if load_cursor_argb() is called on an enabled cursor.
Commits on Jan 27, 2012
  1. xv: use fourcc_code

    Rob Clark committed Jan 27, 2012
    Use the fourcc_code() macro from drm_fourcc.h instead of macros that
    only exist with dri2video.