Commit Graph

15 Commits

Author SHA1 Message Date
Ben Fennema d39a514dd0 display: msm8909w caf release LW.BR.4.0-00800-8x09w.0 for SD2100.
MSM8909W display HAL code copied from CAF release LW.BR.4.0-00800-8x09w.0.

Bug: 79356346
Test: build
Change-Id: Ie801976595c8ed9164b0d91737f5daf40764d8a6
Signed-off-by: Ben Fennema <fennema@google.com>
2018-05-08 14:36:40 -07:00
Dan Albert 789f042d3c Fix -Wmacro-redefined werror issues.
The libc++ defines this (wrapped in ifndef, like this should have
been), so including a libc++ header and then defining this results in
a werror failure. Define this in common.mk so we can be sure it does
get defined, but also that it gets defined early enough that anyone
defining this in source wrapped with ifndef doesn't get broken.

Test: mma # on angler
Bug: http://b/34740564
Change-Id: Id7d70a6ad5e530390eb8b37e5e618312d1d7e6dc
2017-01-30 17:54:29 -08:00
Alex Naidis 5936d78c2a
hwcomposer: Fix regression in hwc_sync
Hwc_sync is in the hotpath of display
rendering and gets called every ~17ms
during active rerendering.

Reading the property "debug.egl.swapinterval"
on every execution of hwc_sync causes a major
regression where the execution of hwc_sync
is much slower than it can be.

Doing I/O in hotpaths is inacceptable
and can cause an unnecessary constant
I/O load, additionally to the slowdown
in display rendering which was caused
in this case.

As solution, we condition this debugging
feature with "DISPLAY_DEBUG_SWAPINTERVAL",
so it can be enabled when explicitly needed.

Gralloc is not directly affected by the regression,
it was adjusted to match the conditioning
of the swapinterval debugging feature.

The HALs of msm8084,msm8226,msm8909,msm8960 and
msm8994 are affected by the regression and
get patched by this patch. Newer HALs
are not affected.

The stats contained in this patch were
collected using a Nextbit Robin (MSM8992),
which uses the msm8994 HAL.

Test: Manual testing for proper conditioning.
Test: Running full CTS suite without DISPLAY_DEBUG_SWAPINTERVAL set.

Change-Id: If08595d37ac0c1a19edd8d296289a21c9f95512a
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-12-27 16:38:36 +01:00
Sachin Bhayare 30bff23e04 hwc: add venus color format support for msm8909w
Add VENUS_COLOR_FORMAT support in hwc to enable video use cases.

Change-Id: Ieeca8fab302104cb057b3862c0905e8ea7d15980
2016-08-15 17:35:25 -07:00
Alain Vongsouvanh 3072e9633b resolve merge conflicts of 0a4d0a1 to nyc-dev
Change-Id: I90f2d1d1c2798d0f6b1c9fe87663893790af9edb
2016-05-23 13:58:49 -07:00
Sachin Bhayare 35bc51c90d display: Enable clang for all display modules
Add clang support for display modules and fix error identified by clang.

Change-Id: I8e62ce5773c675e50ef9f4c82ae588ff0ec7ff67
Signed-off-by: Sachin Bhayare <sbhayare@qti.qualcomm.com>
2016-05-17 13:43:40 -07:00
Roopesh Rajashekharaiah Nataraja 9df067365f display: update references to support prebuilt kernel build am: e725d08
am: 2ad55a4

* commit '2ad55a4861b55460cd8da4542caa2400d0c9a1ab':
  display: update references to support prebuilt kernel build

Change-Id: Icaa4dd3a378cd8672fa26431c621f0cd31714f5c
2016-04-05 20:17:38 +00:00
Roopesh Rajashekharaiah Nataraja 80a9cb61c5 display: Point to new opensource project path. am: 1129a6a
am: d44112d

* commit 'd44112dc0a37ec132b2d5440903df89564a20919':
  display: Point to new opensource project path.

Change-Id: Iba2a57f0bb2c5819cc1060ed28fcc886478733c0
2016-04-05 20:17:37 +00:00
Roopesh Rajashekharaiah Nataraja e725d08ff1 display: update references to support prebuilt kernel build
Updating kernel references to LOCAL_ADDITIONAL_DEPENDENCIES and
BOARD_KERNEL_HEADER_DIR

Change-Id: Ibda64786548a15cf4d2a37f5ae2e8e414f6712ae
2016-04-01 14:44:28 -07:00
Roopesh Rajashekharaiah Nataraja 1129a6a00f display: Point to new opensource project path.
Change-Id: Id9eb9801337985afd14dc9ccdeacf18852c2d319
2016-04-01 14:44:16 -07:00
Tom Cherry d1e8c42a5b msm8909: Temporarily disable -Werror and clang
Clang has more warnings and errors than gcc which prevent the 
msm8909 display components from compiling successfully.  Disable -Werror
and clang temporarily until these issues can be fixed.

Bug: 27790279

Change-Id: I83fef652d3da81d0740286040b8a942998e9d836
2016-03-22 20:22:45 +00:00
Sachin Bhayare 9047307bd1 hwc: remove venus color format support for msm8909w
Wearable target msm8909w not have venus core, so disable VENUS_COLOR_FORMAT
support from hwc.

Change-Id: Ib63e92592287f985e6f88e2d697cc76923cbe017
2016-03-14 17:09:10 -07:00
Prashant Malani 5ae68a6d39 Revert "msm8909: Disable the VENUS_COLOR_FORMAT to unblock the build"
This reverts commit ebcc7aff74.
2016-03-14 17:07:41 -07:00
Prashant Malani ebcc7aff74 msm8909: Disable the VENUS_COLOR_FORMAT to unblock the build
The sanitized kernel headers don't include references to several inline
functions associated with the VENUS_COLOR_FORMAT, causing the build to
break.

To get things building, we remove the VENUS_COLOR_FORMAT flag
altogether.

Bug: 25691995
Change-Id: Iabcc305d7f175a413de1100621835128c804745a
2016-02-08 16:28:40 -08:00
Prashant Malani 07bbf1e89c msm8909: Populate display code for msm8x09
Copied from manifest tag LW.BR.1.0-00110-8x09w.0 for
LW.BR.1.0

Bug: 25691995
Change-Id: I42c50111d92ecbdc9198ce4f2a98c26300dfa715
2015-12-08 12:42:17 -08:00