summaryrefslogtreecommitdiffstats
path: root/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* enable drm_gralloc module for swrastreplicant-6.0-beta-0001replicant-6.0-alpha-0006replicant-6.0-alpha-0005Wolfgang Wiedmeyer2016-08-271-5/+5
| | | | | | | | | Even if only swrast/llvmpipe is selected, there is still a dependency on drm_gralloc. Removing the dependency seems to be too much work. The path for the Mesa repo needs to be adapted. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* Android.mk: remove unneeded static librariesRob Herring2016-03-171-3/+0
| | | | | | With the load_pipe_screen support, these libraries are no longer needed. Signed-off-by: Rob Herring <robh@kernel.org>
* Build pipe support by defaultRob Herring2016-03-171-9/+4
| | | | | | | Build pipe support by default when any unlisted driver is enabled. This way gralloc doesn't have to be updated for every new driver. Signed-off-by: Rob Herring <robh@kernel.org>
* pipe: use gallium loader functionRob Herring2016-03-171-22/+6
| | | | | | | Based on Rob Clark's work to avoid duplicating gallium driver loading code and statically linking each driver's pipe and winsys libraries. Signed-off-by: Rob Herring <robh@kernel.org>
* android: export drm_gralloc headersMauro Rossi2015-09-181-0/+3
|
* Merge remote-tracking branch 'x86/kitkat-x86' into lollipop-x86Chih-Wei Huang2015-04-301-20/+1
|\
| * do not use pipe driver for r600gChih-Wei Huang2015-04-291-8/+0
| | | | | | | | Seems it is buggy.
| * remove unnecessary paths in LOCAL_C_INCLUDESChih-Wei Huang2015-04-291-12/+1
| | | | | | | | Now the include paths are imported automatically from libdrm*.
* | Enable radeonsi on Android-x86Paulo Sergio Travaglia2015-04-301-1/+1
| |
* | Merge remote-tracking branch 'x86/kitkat-x86' into lollipop-x86Chih-Wei Huang2015-04-191-1/+15
|\ \ | |/
| * Changed format constants to match what vmwgfx driver expectsPaulo Sergio Travaglia2015-04-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | When allocating a new buffer using pipe driver, pipe constants are used to define a format based on corresponding HAL_PIXEL_FORMAT However, vmwgfx driver expects other constants (SVGA3D_A8R8G8B8, SVGA3D_X8R8G8B8, SVGA3D_R5G6B5, etc) Changed the returning constants to match what driver expects. v2: [cwhuang] - Use the constants defined in svga3d_types.h. - Use C99 standard to avoid building errors with mesa 10.6.
| * gralloc_drm_pipe: fix building errors with mesa 10.4Chih-Wei Huang2015-01-221-1/+3
| |
| * freedreno: completely untested initial supportRob Clark2015-01-161-0/+9
| | | | | | | | | | | | | | | | | | v2: [Emil Velikov] - drmGetVersion returns the kernel module name. - Add it to the build :) - freedreno_map returns void * while gralloc::map expects int. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* | enable multiarch buildsChih-Wei Huang2015-01-201-2/+2
|/ | | | | Convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH to support 64-bit targets.
* r600g: fix building errors with the latest mesaChih-Wei Huang2013-07-221-0/+2
|
* change hal name to gralloc.drmChih-Wei Huang2013-07-171-1/+1
|
* add ilo to intel_driversChia-I Wu2013-05-031-1/+1
| | | | | | | | It is a new Gallium-based driver for Intel GEN6+. Change-Id: I8a73b6f276d4cc3d38427c2725d63710512bff32 Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
* gralloc_drm: fix building errors with latest mesaChih-Wei Huang2013-04-111-1/+2
| | | | | Change-Id: Ifdf23b59542152c364d3ed010a4cc82bbf1a0103 Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
* move drm_module_t to a hal private headerTapani Pälli2013-02-181-0/+4
| | | | | | | | this way it can be accessed by hwcomposer module, which will be required to implement jellybean mr1 hooks. Change-Id: I68872243c30aee2d0eb76f38fe54efdea4862a66 Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
* split gralloc.$(TARGET_PRODUCT)Adrian Marius Negreanu2012-11-141-9/+33
| | | | | | | | | | Some of the functions in gralloc.$(TARGET_PRODUCT) can be reused. Since one should not link against a HAL library, have gralloc.c as gralloc.$(TARGET_PRODUCT) and extract the reusable code into libgralloc_drm. Change-Id: I08a6989bb0b191ec56662aa4a21f6da7aea6b24d Signed-off-by: Adrian Marius Negreanu <adrian.m.negreanu@intel.com>
* gralloc: hdmi cloned mode supportTapani Pälli2012-10-241-0/+1
| | | | | | | | | | | | | | | | | | Patch implements simple support for cloned mode hdmi by introducing primary and hdmi outputs that are updated respectively. Current implementation is rather naive and assumes hdmi can drive same mode as the local lvds. Only cloned mode is supported but can be extended later to support extended mode when hwcomposer is available for controlling this behaviour. HDMI hotplug is implemented as a separate observer thread that listens to uevents and reads hdmi connection state from there, this requires switch support from the kernel hdmi driver. Change-Id: I147273bbe4d21ab9f390f38c9a5f945530c8fd2e Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Signed-off-by: Matt Gumbel <matthew.k.gumbel@linux.intel.com>
* Revert "gralloc: hdmi cloned mode support"Daniel Leung2012-10-231-1/+0
| | | | This reverts commit 2d2758bca0f962ef21673dbe29df4c042d7f3254.
* gralloc: hdmi cloned mode supportTapani Pälli2012-10-181-0/+1
| | | | | | | | | | | | | | | | | | Patch implements simple support for cloned mode hdmi by introducing primary and hdmi outputs that are updated respectively. Current implementation is rather naive and assumes hdmi can drive same mode as the local lvds. Only cloned mode is supported but can be extended later to support extended mode when hwcomposer is available for controlling this behaviour. HDMI hotplug is implemented as a separate observer thread that listens to uevents and reads hdmi connection state from there, this requires switch support from the kernel hdmi driver. Change-Id: I1d5873214d672563789f4953a892de60539eca88 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Signed-off-by: Matt Gumbel <matthew.k.gumbel@linux.intel.com>
* gralloc: Add support for prebuilt gralloc libsAndrew Boie2012-09-251-2/+14
| | | | | | | | | | If the user sets BOARD_GPU_DRIVERS to 'prebuilt' and passes a path to the prebuilt gralloc binary via BOARD_GPU_DRIVER_BINARY, then that prebuilt gralloc image will be used instead of building it from source here. Change-Id: I0fe3bc1919cacc38087afe3f76e4b8391975edbd Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
* remove outdated BOARD_USES_*Chia-I Wu2011-08-291-26/+1
|
* vmwgfx: assorted fixesChia-I Wu2011-08-241-0/+2
| | | | | | | | | | | Based on trial and error, we know - drm_kms_wait_for_post() hangs the VM - drmModeDirtyFB() should be called whenever the front buffer changes - drmModePageFlip() is not supported They might not be entirely correct, but fixing them makes drm_gralloc work.
* drop the 'c' suffix from i915c/i965cChia-I Wu2011-08-031-3/+3
|
* android: use BOARD_GPU_DRIVERSChia-I Wu2011-07-221-22/+66
|
* support other drivers in pipeChia-I Wu2011-07-111-2/+12
| | | | Tested with r600g.
* add (untested) pipe supportChia-I Wu2011-06-131-0/+13
|
* add nouveau supportChia-I Wu2011-06-131-0/+10
|
* initial commitChia-I Wu2011-06-121-0/+77