Age | Commit message (Collapse) | Author |
|
Since the panda uses HDMI and DVI only there is no setting to
indicate the x/y res or dimensions.
There fore if these values are not set in the kernel set the
lcd_xpy to 1
Change-Id: I538eb0fc059daebfa3fe125cbdf0b70eb51f1616
Signed-off-by: Dan Murphy <dmurphy@ti.com>
|
|
Change-Id: If08258776db427c45d9ba70cfa79f4d290398ca6
|
|
Change-Id: I7851cd5ca7cd826b3b4b35e6df90ce1e2a9f4327
|
|
Switch to HWC_DEVICE_API_VERSION_1_0 and the corresponding
structures.
This change removes special-case handling for Panda, which was
using v0.2. This will likely break the Panda display.
Change-Id: Id9ba6910ae2285d116f697bfa5af2c1f6b022ce0
|
|
The hwcomposer for OMAP4 is generic to the all OMAP4
processors.
Panda does not support Vsync protocal which is expected
when the HAL declares an API support level of 0.3.
Therefore indicate to the upper layers that if the product is
panda then only API level 0.2 is supported which then forces
upper layers to fake the vsync signal
Change-Id: I22a39f55ea017ced25424556ffc95b099d0a2781
Signed-off-by: Dan Murphy <dmurphy@ti.com>
|
|
When checking if we are downscaling beyond what the hardware
supports, we were dividing by the factors rather than multiplying
the other side with them. The truncation of the divisions had
hwc allowing downscaling by a factor slightly larger than what
was supported.
Change-Id: I6ae4d897f4afe68ae26f0d7385e4003d6f2a4253
Signed-off-by: Lajos Molnar <lajos@ti.com>
|
|
looks like certain scaling factor cause the overlay engine to go all black.
Limit the vertical downsampling to 4x instead of 8x
Change-Id: I9034fb99b64c6936059970553b24eba5c941ebdd
|
|
Change-Id: Ia435c57e0938826206010a3bdb58bcefe4201405
|
|
this includes support for VSYNC
Change-Id: I14b8b133b29b0b6c825d67d18d5262843ca6bd96
|
|
Conflicts:
hwc/hwc.c
Change-Id: I8e55acb05f4f01aa404296fd200286b4a435e3f9
|
|
Change-Id: I53feed711d7c347da116a91e10228cb6555a1e77
|
|
Change-Id: I8707839bdf49278a7f62376a9bb5a8cb36f2a4de
|
|
hwc: Add support for FB scaling and cloning
Patch contains following features
1)Large frame buffer support:
Transformation matrix for LCD and HDMI added
to ensure correct composition and renderring
of all UI layers
Added support for overlay distrubution based
on FB size and target display
2)Default HDMI display support
Support for default HDMI display selection.
Added HDMI best mode selection on HPD
Change-Id: I1123607d07830921fbb28336b40fa4e0c78c3097
Signed-off-by: Dandawate Saket <dsaket@ti.com>
Signed-off-by: Lajos Molnar <molnar@ti.com>
Signed-off-by: Muralidhar Dixit <murali.dixit@ti.com>
|
|
Change-Id: I2e0636c3a386203e0aaee8c97b1affa4ee96f699
|
|
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: I7d131473964d92c62a495d082a1207867f435885
|
|
See https://android-git.corp.google.com/g/157065
Bug: 5449033
Change-Id: I71aea6795e3ed22beacb9a8f5774499e96c69a4d
|
|
See https://android-git.corp.google.com/g/156801
Bug: 5449033
Change-Id: Ib3b6ce6a89755e29aa9f830e9185064c25dd138e
|
|
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: I551e5a040249a8908251cd8c8d7131287f1f53de
|
|
* commit '40e6beac1e9977ff2ca763e6e8abcc2463fa76cf':
hwc: set FB z-order when there are no hwc layers
|
|
* commit 'c7bdd44463cd9b32a3d6a5647beaff541a5e29f7':
hwc: added static image support
|
|
* commit '252f905d197c5f385d21686a4368ab1114b84e39':
hwc: update to new addressing mode handling
|
|
When there are no layers passed to hwc, FB is still used, and
z-order must be set.
Change-Id: I7e45f56468b47712f7686b78ba0650943037c64a
Signed-off-by: Lajos Molnar <lajos@ti.com>
|
|
Display static image if connected to portrait dock and there are no
dockable layers.
Change-Id: I572cf9ef5bf66ac194c3a83920a8de3be1e6d4e4
Signed-off-by: Lajos Molnar <lajos@ti.com>
|
|
Specify Post2 and cloned layers.
Fix potential overflow in zorder of cloned (dock) layer.
Change-Id: I534fe30e6b90415070824ceb7abff65e9b93c9ec
Signed-off-by: Lajos Molnar <lajos@ti.com>
Conflicts:
hwc/hwc.c
|
|
* commit '04a0e38d7c4d8a94fbc84eac36cb6d06412cd7b7':
hwc: add support for forced docking (in the dock)
|
|
* commit '5119962cd2520a3e4d3f2a2a15d6596c28fba04f':
hwc: extract HDMI mode scoring function
|
|
methods
* commit '20e79c05615092da8f48d8ca41745d0c9c5479ce':
hwc: refactor prepare: extract out hdmi cloning methods
|
|
statistics and cloning decision
* commit '25487b340cdb1cf93882d874858615872c2035de':
hwc: refactor prepare: separate gathering layer statistics and cloning decision
|
|
* commit '53d3c74d3113a666167062afa15be6d447ae7361':
hwc: use LCD's pixel aspect ratio
|
|
* commit '226ff52b58437487ac65c8fa853fe6c646d3d468':
hwc: minor code cleanup
|
|
* commit 'e10ef2cd8f619915d9638b5b5178ceae23520290':
hwc: simplify layer hint setting
|
|
* commit 'c8124479e9a96661bc6394456c5a8b7e8e869e94':
hwc: simplify color format handling
|
|
* commit 'd4d10c5f5080ca01469ebf8429bb3c164a6f9856':
hwc: cleanup: fix spacing, removed dead code
|
|
* commit 'bda528cf43b2d7ca91fd9da3ebb08e5166fa7cfc':
hwc: cleanup: cleaned up debug messages
|
|
* commit '8fc542adafd4ac4e94d24b75e5e1bf4b3f64f1ba':
hwc: cleanup: resolve compiler warnings
|
|
* commit 'cc230bb412aa0bba51d0ca32cc82d1555538e392':
hwc: remove name collision for DISPLAY_SETUP_DISPLAY
|
|
* commit '085c0e5468f3ba46f42749f84828cfd3ec6a7b78':
hwc: Fix calculation of on_tv
|
|
* commit '4b9a8e20618eab9b5a581a97586c5808f8571d28':
hwc: fix issues handling force_sgx
|
|
If the dock switch is set high, mirroring is disabled and docking
transformation is set to 0.
Change-Id: Ief0f14874459f3ff435e6b43088f524af322524f
Signed-off-by: Lajos Molnar <lajos@ti.com>
|
|
Separate HDMI mode scoring function so that it is easier to
modify.
Also changed scoring function to be cumulative instead of
absolute, so that priorities of the sub-scores can be easily
changed.
Change-Id: I3f803c13c1482653b8a3fb26a47a8fefecc51b4b
|
|
Extract setting up mirroring into setup_mirroring().
Extract cloning an overlay into clone_layer().
Extract cloning an external layer into clone_external_layer(). This
also sets up the transformation for that layer.
Remove omap4_hwc_create_ext_matrix as it was nearly the same
as setup_mirroring(). Move missing functionality (VGA default) into
omap4_hwc_set_best_hdmi_mode().
Removed forced "common" cloning loop for mirroring and docking
support. Instead implement them using the extracted functions.
Change-Id: I3d53397f6f5c98d1f1c512b7098f5a1c495dd93f
|
|
Extract logic that gathers layer statistics into gather_layer_statistics().
Extract logic that decides supported cloning configuration into
decide_supported_cloning().
Move prepare log to end of function.
Change-Id: I9bf3a5a1072b9d548da039e25739009dfb5ba06e
|
|
Now that LCD provides its dimension, use it instead of assuming 1:1
pixel ratio.
Change-Id: I92e90132986aed66d43165d181789efaa2369bbd
Signed-off-by: Lajos Molnar <molnar@ti.com>
|
|
Change-Id: I51434effcb688fa065bdd422a721282b05a192f4
|
|
Set HWC_CLEAR_FB hints in the main loop.
Change-Id: I9fb0e4241b9d3975422070daeef0706d954947b2
|
|
use handle instead of handle->format for most format checker methods
incorporate blending handling check into omap4_hwc_setup_layer_base
Change-Id: I336b3063c162733151f403b5c3de06699fcc3404
|
|
Change-Id: Ie36e79f80bc610b75361f592c6ed7a028e877cd5
|
|
Change-Id: Idf7a0623dd5559cc1273389a5a673b28a8be39f6
|
|
Removed compiler warnings
Change-Id: I5b6da58e48e526ccceada1cbe89291275b62c60f
|
|
This was defined both as an enum (flag) and as a define. It is
now separated in dsscomp.h
Change-Id: I1626842b9c3b22588d0d5a48e4509e1bc353eaab
Signed-off-by: Lajos Molnar <molnar@ti.com>
|