Replace QCOM_TARGET_PRODUCT usage with make functions provided by
build/core/utils.mk to build conditionally for qcom chipsets
Change-Id: I98e2341f46a59de597e8a9ed757d9c6b88bae588
CRs-Fixed: 298335
pmem_adsp is now cached for unicorn and the
video encoder does not use any display pmem.
Hence, it is no longer needed to map a hardcoded value
Change-Id: Ib012da39e4aedb5c8d4d6666def38f95c900e575
Following changes are included in this commit:
1) CloseBypass will just update one flag.
2) Close channel will be done in disp_loop.
This is needed so that we make sure, close channel happens
only after framebuffer has been sent to MDP.
CRs-fixed: 292152
Change-Id: I1d4b9930ad98fd8c437a3e5641c605842c63a91d
If we are not using MDP composition, and the pmem allocation fails,
try allocating the surface memory from the ashmem region, if a PMEM
surface is not explicitly requested.
Change-Id: I528cd6b31cc84fb3a4b4611cf197baffe1465ee9
Add support for the userspace to make MDP
avoid flushing the source image buffer
This change is needed if we are using
cached video buffers. Since the MDP driver
used to flush the entire source buffer before
the blit, it was a huge overhead in terms of CPU
usage for cases where the entire buffer didn't
really need flushing. Any clients that modify
the video buffers with CPU should now ensure that
they flush the region that they modified (if the
memory is cached)
Change-Id: I94572644ed5aefac3184b45df05d10be0f2c7660
Add an api to copy bypass buffer. De-couple
comp. bypass functions from HDMI feature defines.
Change-Id: I743a80518c29a04bcf61e48d189b07636026afc7
CRs-fixed: 288992
When USE_ASHMEM is set, ASHMEM will be used only for non-MDP composition.
This implementation will force to use PMEM for MDP composition case. This
will allow using ASHMEM or PMEM at run time, depending on the composition
type. USE_ASHMEM would mean that use ASHMEM where possible.
This will also make sure that video works properly when dynamic ASHMEM
feature is enabled on 7x27 / 7x27a / 7x25a targets.
Change-Id: I5860311aad20d33e2d078cd6f0d05e041ff3364a
The FPS is stored in reserved[3] field of fb_var_screeninfo
structure. Read directly from this field.
Change-Id: I052dc3c20a8a38995881cd4d743c13d9522f9246
CRs-fixed: 283750
This reverts commit 80df10595720594cf661b8812507ba75b2bafd1e.
Revert "libgralloc-qsd8k: Set the framebuffer offsets correctly"
This reverts commit 09a31858f42978c29e0c7014713748d413b3c587.
It is no longer a requirement for GPU to be 4k aligned, hence
reverting these 2 changes.
Change-Id: I39e6f6324353a3c19bfdf523f8862408ef9a4093
Implement ActionSafe ratios in OverlayOrigRes class
Change class internal design.
Change-Id: I42a7f9b00dfd3e760b2162a1f7f36d679440363f
CRs-fixed: 285165
Design now uses OverlayUI class. Flow goes through gralloc
to avoid race conditions with mirroring, when video is
played via Gallery.
Change-Id: If18c1f84a99aae38a6a4a20da7dff804ae05b8be
CRs-fixed: 285186, 286930, 286596
Observed overscan in case of videos and UI
This change fixes all the paths and eliminates overscan
Adds a class to save user specified action safe parameters
Change-Id: I8c65b1142b086f5ff0d568c5f5c87fcde9642d5b
CRs-fixed: 285165
Modify the GRALLOC_MODULE_PERFORM_CREATE_HANDLE_FROM_BUFFER function
to take into account the memory region that the buffer has been
allocated from.
Change-Id: Ifac7b117956b39e54911b1b7693c0f4b959c630b
CRs-fixed: 284900
The offsets for the framebuffer needs to start at a 4K aligned address.
Calculate the additional delta for the yoffset, the virtual address for flipping
as well as the total framebuffer size required to achieve this
Change-Id: Idfd70be10a24ac464ec820494b66d506a03a983b
CRs-fixed: 273888
- The ioctl call from getOrientation is removed.
- In gralloc use getOrientation instead of storing the
orientation.
Change-Id: Idb08568ff5d46ce99e0a9a8c6f492b90bb666f0c
Add the state machine for overlay configuration. When connected,
check whether the TV on HDMI is 3D capable or not using the EDID
info. Show L channel on primary panel; and R channel on 2D TV if
non 3DTV is connected via HDMI, else switch TV to 3D mode.
Change-Id: I3109f8b0b81a8f5ad542db038262fd668e225e96
- Use rotator buffer for UI mirroring on HDMI
- Avoid ioctl calls on getPosition
CRs-fixed: 278858
Change-Id: Id390e2b85fe939d8388ed17f5f9c7fcd30499755
Add the exported sanitized kernel headers to include path in C2D/
copybit, gralloc and overlay HAL libraries.
Change-Id: Id60adf8cbd57d1d639d98f712bdc920adace33c3
ashmem ioctl does not allow the ashmem region to be invalidated
anymore, so we have to flush the ashmem region instead of simply
invalidating it.
Change-Id: I912d2cf293e6ad39d40fb04fd0a1d21700a3907b
Starting from GB, modules which doesn't have LOCAL_MODULE_TAGS
defined (default to user tag) or which has user tag and not part
of GRANDFATHERED_USER_MODULES does throgh ERROR/WARNING
message. To supress these WARNING messages, we need to add
optional tag.
Targets tested on:
msm8660_surf
Tests:
Did a build from scratch
Change-Id: I13484250258582dc7c05e1893712719660a8ff06
Call setPosition and setParameter for HDMI only when there is a
change in the rotation or position.
Change-Id: Id11b58408607c2f9799bb332c30d52f52957ec4e
Add support for Side-by-Side full, Side-By-Side-half formats in the overlay.
The Side by Side half formats could either be in Left-Right or Right-Left mode.
Change-Id: I1274529f75e69e10443705c863599936c45a7148