| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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>
|
| |
|
|\ |
|
| |
| |
| |
| | |
Seems it is buggy.
|
| |
| |
| |
| | |
Now the include paths are imported automatically from libdrm*.
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
| |
Convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
to support 64-bit targets.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
It is a new Gallium-based driver for Intel GEN6+.
Change-Id: I8a73b6f276d4cc3d38427c2725d63710512bff32
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
|
|
|
|
|
| |
Change-Id: Ifdf23b59542152c364d3ed010a4cc82bbf1a0103
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
This reverts commit 2d2758bca0f962ef21673dbe29df4c042d7f3254.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Tested with r600g.
|
| |
|
| |
|
|
|