-
robclark committed
Jan 11, 2013 Signed-off-by: Rob Clark <robdclark@gmail.com>
-
dri2: fix potential loop issue with triple buffer flip
robclark committedJan 11, 2013 Signed-off-by: Rob Clark <robdclark@gmail.com>
-
remove unneeded DRI1 dependency in configure.ac
robclark committedNov 27, 2012 Signed-off-by: Rob Clark <robdclark@gmail.com>
-
fix issue on pre-rotation kernel
Rob Clark committedOct 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>
-
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>
-
-
fix ScreenInit -> CloseScreen -> ScreenInit
Rob Clark committedOct 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>
-
remove miInitializeBackingStore() call
Rob Clark committedOct 5, 2012 It is no-op these days, and removed from latest xserver. Signed-off-by: Rob Clark <rob@ti.com>
-
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>
-
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>
-
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>
-
add EnableDisableFBAccess to compat-api
Rob Clark committedAug 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>
-
omap: add support for PlatformProbe
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>
-
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>
-
dri2: fix multi-drawable flip confusion
Rob Clark committedAug 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>
-
dri2: implement triple buffering
Rob Clark committedJun 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>
-
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>
-
omap: finish port to compat API
Rob Clark committedJun 17, 2012 updating the EXA hooks was missed. Signed-off-by: Rob Clark <rob@ti.com>
-
omap: port to compat server API.
Rob Clark committedJun 16, 2012 This ports to the new server API. Signed-off-by: Rob Clark <rob@ti.com>
-
dri2: turn vblank error into a WARNING
Frederic Plourde committedJun 13, 2012
-
dri2: block close-screen until flips complete
Rob Clark committedApr 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.
-
exa: fix double free of scanout bo
Rob Clark committedApr 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.
-
dri2: don't attempt to re-allocate scanout buffer
Rob Clark committedApr 20, 2012 The scanout buffer is already contiguous (scanout capable), and re-allocating it causes pOMAP->scanout to be a dangling pointer.
-
dri2: hold extra buffer ref during swap
Rob Clark committedApr 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.
-
dri2: don't exchangebufs if blit
Rob Clark committedApr 16, 2012 In the blit path, we don't actually swap back and front buffers.
-
exa: fix double free of scanout bo on resize
Rob Clark committedApr 13, 2012 The scanout buffer free'ing for the screen pixmap is handled elsewhere.
-
dri2: send proper swap-type back to client
Rob Clark committedApr 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.
-
dri2: cleanup flip/exchange logic
Rob Clark committedApr 12, 2012
-
Merge pull request #1 from vstehle/vincent/5432-sgx
robclark committedMar 5, 2012 Add support for OMAP5430 and OMAP5432
-
Add support for OMAP5430 and OMAP5432
vstehle committedMar 5, 2012 Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
-
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.
-
Rob Clark committed
Jan 27, 2012 Use the fourcc_code() macro from drm_fourcc.h instead of macros that only exist with dri2video.