libdrm : add nexell api accepted/tizen/unified/20201209.124856 submit/tizen/20201208.090512
authorjino.cho <jino.cho@samsung.com>
Thu, 25 Aug 2016 09:42:35 +0000 (18:42 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 8 Dec 2020 08:41:51 +0000 (17:41 +0900)
commit3c09668881564caecd3c3334f870c0dcd1a8e82d
tree8433e2f38d480c10c32c42921399e501612a1785
parentb9985e534fffad80a35f7b13f760f0f15139b870
libdrm : add nexell api

This patch imports the nexell api of the libdrm

Change-Id: If8009fc30f46edcf4fdcc04679523e590e165003
Signed-off-by: jino.cho <jino.cho@samsung.com>
nexell: Add meson build system

Change-Id: I58d2e2b7a2605f087bf78e340ba156b8b8399da7
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
packaging: enable nexell and add lib

Change-Id: I22b2e6324bf6b07f289bb7b33054b6f80dbee945
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
nexell: add explicit cast for gem size

The nexell gem alloc api has int parameter, so it should be casted
to uint64_t for kernel gem alloc interface.

Change-Id: Icc98b42645fd8ec234b99193304b5f91bcdd3389
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
tests: add nexell drm to default test modules

Add nexell drm to test modules for the artik devices.

Change-Id: I5f15f6bf28064ebc6ad178ba40ada0c6e666ad49
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
nexell: add gem buffer type

Add gem buffer type to sync with kernel header.

libtbm nexell backend refers to gem buffer type for cache control.
So this patch adds the buffer type to identify if cache operation
is required or not.

Change-Id: I7760a54496a1a9e7c2f17f0a77e640e346d9b455
Signed-off-by: Inki Dae <inki.dae@samsung.com>
nexell: fix to check return of drmIoctl()

Fix to check return value of drmIoctl().

Change-Id: I456184820278ee38ff1a7e5bba283acb8c2ea99f
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
nexell: fix signed/unsinged cast

The commit 4f6c18f11c68 ("nexell: add explicit cast for gem size")
introduced signed 32bit value into unsigned 64bit value and it can
cause wrong value conversion. Fix to cast signed 32bit value into
unsigned 32bit value first and then cast into unsigned 64bit value.

Change-Id: I9550b74987ddd981e905f3b5085d4abaede01c65
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
nexell: add drm_public macro for nexell drm api

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
meson.build
meson_options.txt
nexell/libdrm_nexell.pc.in [new file with mode: 0644]
nexell/meson.build [new file with mode: 0644]
nexell/nexell-symbols.txt [new file with mode: 0644]
nexell/nexell_drm.c [new file with mode: 0644]
nexell/nexell_drm.h [new file with mode: 0644]
nexell/nexell_drmif.h [new file with mode: 0644]
packaging/libdrm.spec
tests/util/kms.c