summaryrefslogtreecommitdiffstats
path: root/gralloc_drm_intel.c
Commit message (Collapse)AuthorAgeFilesLines
* Maintain a list of connector outputsWuZhen2016-06-271-3/+3
| | | | | | Refactor code to support multiple mirrored outputs following code. Change-Id: I60781d707ae68db2dbd2c4c4122b9183633a74be
* support hdmi clone more for intel GEN8+ gpusWuZhen2016-05-121-6/+46
| | | | Change-Id: I4e83eb55f2813c92873b8481b8ae9328add4c4f7
* gralloc_drm_intel: fix i915 issues: failed to exec batchChih-Wei Huang2013-07-171-2/+10
| | | | Old i915 doesn't have I915_EXEC_BLT bit. Only set the bit if it's available.
* gralloc: cleanup, use ALIGN macroTapani Pälli2013-05-031-3/+3
| | | | | Change-Id: I029aafe5a99393a4c0f7ff87f422317621fada12 Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
* gralloc: change copy api and fix copy function for intelTapani Pälli2013-03-011-24/+47
| | | | | | | | | | | | | | | | Patch extends current copy api, renames it blit and introduces src+dst coordinates to be able to implement partial blits and blits with offsets. Implementation must take care of hw specific restrictions with blits. Patch also fixes issues with the current intel_blit function. Current implementation does not select ring buffer and ends up queuing blit commands to the render ring. Patch starts to use drm_intel_bo_mrb_exec to be able to select blit ring and fixes the checks inside copy function. Change-Id: I05905e0b9c48fc2a55230212b676bfb8813a2b55 Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
* gralloc: implement yuv offset query as hw specific functionTapani Pälli2013-01-211-0/+47
| | | | | | | | | | This patch reverts earlier cca14cfd... and introduces a new hw specific hook to query yuv components offsets which can vary between different hw, decoders, cameras etc. Change-Id: Ib60bc8ee28df7bc9425b6d7934294fe36fc55354 Depends-Change-Id: I1aa5368b21e588d5d711c1005fff2a5296e143a0 Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
* gralloc: use headers from drm and mesa instead of local copyTapani Pälli2012-11-091-3/+6
| | | | | | | | | | | | Patch removes local outdated headers for intel hw and starts to depend on ones from libdrm and mesa projects, this makes sure we are up to date with new pci id's etc. intel_init_kms_features required some fixing because of changed macros, patch also adds GEN7 check in place for IVB and HSW. Change-Id: Iee6375ceb558baf4334e3b9b5d26210406aa7b71 Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
* gralloc: hdmi cloned mode supportTapani Pälli2012-10-241-3/+3
| | | | | | | | | | | | | | | | | | 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-3/+3
| | | | This reverts commit 2d2758bca0f962ef21673dbe29df4c042d7f3254.
* gralloc: hdmi cloned mode supportTapani Pälli2012-10-181-3/+3
| | | | | | | | | | | | | | | | | | 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_drm_intel: set gem handle for each boTapani Pälli2012-10-121-2/+1
| | | | | | | not just fbs, potentially anything can be used as framebuffer by kms code Change-Id: Ib710bb62ae23cf58a987c6614306711dedb11cbf Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
* Change all occurances of LOGE to ALOGE, LOGW to ALOGW and LOGI to ALOGI due ↵Charles Johnson2012-07-101-11/+11
| | | | | | | | | | | | | | | | to change in Jelly Bean. Signed-off-by: Charles Johnson <charles.f.johnson@intel.com> modified: gralloc.c modified: gralloc_drm.c modified: gralloc_drm_intel.c modified: gralloc_drm_kms.c modified: gralloc_drm_nouveau.c modified: gralloc_drm_pipe.c modified: gralloc_drm_radeon.c Change-Id: Idd9e533eab366d9f9dc199d961891255a66384a2
* add support for YUV formatsChia-I Wu2011-10-271-6/+8
|
* fix build errorsChia-I Wu2011-08-291-1/+1
| | | | Introduced by the last commit.
* add support for debug.drm.modeChia-I Wu2011-07-301-1/+8
| | | | The mode string is "<xres>x<yres>[@<bpp>]".
* let drivers decide the fb formatChia-I Wu2011-07-111-0/+2
|
* initial commitChia-I Wu2011-06-121-0/+585