Age | Commit message (Collapse) | Author |
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Otherwise we'd end up with a new scanout buffer, but old fb, on the next
time around. This way drmmode_xf86crtc_resize() realizes to create a
new fb on next server generation.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Skip SetMaster/DropMaster for server-fd case, and add some hunks which
got missed the first time around.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
The gpu wants pixmaps (including scanout) with width aligned to 32
pixels. We calculate the correct pitch when allocating the scanout
buffer (so the buffer is the correct size), but nothing was updating
scanout pixmap's pitch, resulting in gpu trying to blit to the wrong
places.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Previously, by trying to re-use the fb creation in _resize(), we'd end
up with a call back into _set_mode_major() with a bogus (all zero's)
mode. Which results in trying to set mode 0x0@0 which results in
bad things.
The clocks react badly when trying to set them to 0Hz, so we need a bit
of protection in the kernel for this. But we should get rid of the
bogus modeset in DDX as well (which this patch does).
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
This enables the xserver to associate the drm driver name "msm" to the
xf86-video-freedreno driver.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
This enables xf86-video-freedreno to work with a non-root xserver. (Ie.
systemd-logind or similar opens the device and becomes master, and then
passes the fd to xserver which passes it to driver).
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Don't leak drm fd.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Need to re-upload since mesa 10.2 was not ready in the archive when initially
uploaded. without mesa 10.2 update, XA is disabled in X11 freedreno driver.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
from xf86-video-freedreno - 1.0.0+git7+076cad8-2, uploaded in Linaro
maintainers overlay.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
|
|
We need 2.4.54 or later for missing fxn prototype.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Mostly for debug.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Now actually fix it for fbmode too.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Last minute tweaks of how the new ABI shall be handled on xserver side.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
We need to have *some* scanout buffer, even if it will be re-allocated
when a display is actually attached.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
In that case, PrepareCopy will fail. Don't care about it too much, just
go fallback path.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Just cleaning up, separating out a bit better some of the 2d core parts.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Based on what is done in the other big desktop DDX's.. before the splash
screen drops master, copy out it's contents. This enables a seemless
transition from splash screen to greeter.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Currently just for solid fills and blits (no composite wired up yet),
but this is enough to accelerate presentation blit (and avoid stalling
for GPU to complete and memcpy), which is pretty important for
performance of post-sub-buffer (gnome-shell and window managers),
windowed GL apps (including gpu based video rendering), etc.
|
|
Drop a stray character.
Signed-off-by: Andreas Färber <afaerber@suse.de>
|
|
This fixes the build on openSUSE.
Signed-off-by: Andreas Färber <afaerber@suse.de>
|
|
Don't require "fb" option if we have drm/kms driver. And handle
PROBE_DETECT better (and get rid of some bonkers logic inherited from
original msm DDX).
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
First release.. things are in a pretty usable state, and it's nice to
give distro's a version tag to target. So stop being so lazy and make a
release.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
The framebuffer dimensions are not retrieved before they are first used,
when using msm fbdev driver, resulting in X clients thinking the display
is 0x0. Which results in window placement issues, etc.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Add swap/flip support and triple buffer.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Add drmmode_display with the drm/kms support.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
The fbdev specifics are moved into fbmode_display to keep things
cleaner.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Signed-off-by: Rob Clark <robdclark@gmail.com>
|
|
Remove couple unused fxns. And also, 2d core doesn't seem to need
special handling for 16bpp, so get rid of msm_pixmap_get_pitch() hack
too.
Signed-off-by: Rob Clark <robdclark@gmail.com>
|