Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-minigbm: List of commits

external/minigbm


RSS
Rev. Time Author
904a879 2015-01-21 04:50:21 Lauri Peltonen

Fix missing-prototypes warnings

A missing include in helpers.c triggered a bunch of missing-prototypes
warnings.

BUG=None
TEST=Local build with -Wall is now free of warnings

Change-Id: I8d6655ba48abd5cb4f48fa29520f62b076a45690
Reviewed-on: https://chromium-review.googlesource.com/241441
Reviewed-by: Lauri Peltonen <lpeltonen@nvidia.com>
Commit-Queue: Lauri Peltonen <lpeltonen@nvidia.com>
Tested-by: Lauri Peltonen <lpeltonen@nvidia.com>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>

e13ac28 2015-01-14 06:58:41 Dominik Behr

fix rockchip build

rockchip.c needs to include helpers.h
BUG=chromium:442605
TEST=emerge-veyron_pinky minigbm

Change-Id: I21f43b5c71a6c8432e7973e9faa3d29bee0c3bdd
Signed-off-by: Dominik Behr <dbehr@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/240346
Reviewed-by: David Sodman <dsodman@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>

7842d8f 2015-01-13 05:07:24 Lauri Peltonen

tegra: Support tiled buffers

If GBM_BO_USE_RENDERING flag is passed, allocate tiled buffers. Add logic
to the Tegra backend to compute tiled buffer dimensions and tiling
parameters (kind and block height).

The tiling parameters must somehow be passed to EGL at EGLImage creation.
The long term plan is to introduce an extensible structure that can contain
arbitrary vendor specific metadata. For now, we abuse the PITCH attribute
to pass tiling parameters.

Add a new GBM utility function gbm_bo_get_stride_or_tiling, which returns
either the tiling parameters or byte pitch, depending whether the buffer
is tiled or not.

The Nvidia term for our tiled layout is "blocklinear".

BUG=None
TEST=null_platform_test on Tegra

Change-Id: I4e0226efa401b08f7e4a009a7f74b3453c622a10
Signed-off-by: Lauri Peltonen <lpeltonen@nvidia.com>
Reviewed-on: https://chromium-review.googlesource.com/236663
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Commit-Queue: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>

d224eaa 2015-01-10 07:38:07 Zach Reizner

fix incorrect error detection in gbm_bo_get_fd

TEST=None
BUG=None

Change-Id: I6404564bc847b649858232bd4c3eea54663b8d00
Reviewed-on: https://chromium-review.googlesource.com/239961
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Commit-Queue: Zach Reizner <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>

5d867a4 2014-11-25 16:37:01 Stéphane Marchesin

i915: implement alignment restrictions

The previous version was a quick and dirty implementation, this one
should be complete.

BUG=chromium:434924
TEST=

Change-Id: Ia6840bd75c7ea1c8d083ae9c5a3da6699f468273
Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/231731
Reviewed-by: Haixia Shi <hshi@chromium.org>

59c7fe7 2014-11-12 12:54:03 Dominik Behr

rename pc file from libgbm.pc to gbm.pc to match mesa

BUG=none
TEST=emerge-$BOARD minigbm

Change-Id: I640b12bd31b7f93287600a636324adc8f4432dca
Signed-off-by: Dominik Behr <dbehr@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/229186

f7b33d7 2014-11-12 11:43:02 Dominik Behr

Fixed O_CLOEXEC and missing semicolon.

Change-Id: I50bff28ff764610d66b362aa6859054a64a6a1df
Signed-off-by: Dominik Behr <dbehr@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/229180
Reviewed-by: David Sodman <dsodman@chromium.org>

5bb6adc 2014-11-07 04:59:18 Stéphane Marchesin

Implement gbm_bo_get_fd

BUG=none
TEST=unit test

Change-Id: Iafeb58f8e09d4409633475341fc2675922f7350d
Reviewed-on: https://chromium-review.googlesource.com/228252
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Commit-Queue: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>

91b25f8 2014-09-30 17:32:23 Dominik Behr

fix the test for environment variables

BUG=none
TEST=emerge-$BOARD minigbm
CQ-DEPEND=CL:220465

Change-Id: I1f594e5504e85e4f60d2143d21425899e2bd00e6
Signed-off-by: Dominik Behr <dbehr@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/220480
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>

1de26dc 2014-09-26 12:24:00 Daniel Nicoara

Populate the stride field when creating gbm_bos

BUG=chromium:394868,chromium:402597,chromium:413947,chromium:412508
TEST=compiled & verified stride value on pixel

Change-Id: I5555289a9549b803ee29a7d4fbf75987b02afa1b
Reviewed-on: https://chromium-review.googlesource.com/219865
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
Tested-by: Daniel Nicoara <dnicoara@chromium.org>

eeac2ff 2014-09-19 11:31:53 Stéphane Marchesin

Include libdrm_* headers propertly

We don't want to use the misc. platform-specific libdrms, but we
still need the headers for the ioctl definitions and such. So let's
react to the GBM_* flags and use pkg-config to find the path to those
headers.

BUG=chromium:412508
TEST=emerge-daisy_freon minigbm

Change-Id: Ie8e1812fc0cebbc025d9c57a9032541c6a7e6da0
Reviewed-on: https://chromium-review.googlesource.com/219010
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>

8c7039c 2014-09-19 11:31:44 Stéphane Marchesin

Support pkg-config

Let's add pkg-config and install headers since this is needed for
ozone to build with a gbm platform.

BUG=chromium:394868,chromium:402597,chromium:413947,chromium:412508
TEST=emerge minigbm, then try pkg-config-board --libs --cflags. Rejoice that it works!

Change-Id: I94a26b1986db76e2d0dad638feda80ec10f48a9f
Reviewed-on: https://chromium-review.googlesource.com/218979
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>

85afac4 2014-09-19 11:31:33 Stéphane Marchesin

Use libdir from the ebuild

Instead of overriding with our own, let's use the libdir passed down
from the ebuild.

BUG=none
TEST=emerge minigbm

Change-Id: Ic38fd538add6d4c85e502b9dc0feeabaa8378e2e
Reviewed-on: https://chromium-review.googlesource.com/218978
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>

a39dfde 2014-09-19 11:31:24 Stéphane Marchesin

Fix type warning

ARRAY_SIZE is unsigned, which leads to a warning. Let's fix this by
iterating with an unsigned.

BUG=none
TEST=emerge minigbm

Change-Id: I9b683d19d8ce5208bb4ec25d69292bbefcc4f91d
Reviewed-on: https://chromium-review.googlesource.com/218977
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>

c1630f7 2014-09-19 11:31:15 Stéphane Marchesin

Remove test file

This isn't needed.

BUG=none
TEST=minigbm still builds

Change-Id: If82545066b6f1f5bea7d2fb03a24b72d07d0d791
Reviewed-on: https://chromium-review.googlesource.com/218976
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>

25a2606 2014-09-13 10:34:56 Stéphane Marchesin

Import minigbm

Minigbm is a gbm implementation for a few DRM targets. Currently the
targets are:
- cirrus
- exynos
- gma500
- i915
- rockchip
- tegra
- udl

Right some targets are controlled with GBM_{TARGET} flags. I would
like to get to a place where we can just build all the targets in a
single library, but we need the drm headers for all targets for that
to happen so this needs more thinking.

BUG=chromium:394868,chromium:402597,chromium:413947,chromium:412508
TEST=unit tests, which I will need to import later

Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
Change-Id: I36ae07f2a59827a807e19e1432891ca196b28803
Reviewed-on: https://chromium-review.googlesource.com/218030

b960a81 2014-09-12 05:53:55 Aviv Keshet

Initial empty repository

Show on old repository browser