Commit Graph

21 Commits

Author SHA1 Message Date
Prabhanjan Kandula
dbc8aed64d sdm: Add support for solid fill mixer stage
- Define drm interface for setting solid fill stage info on crtc.
- Define sdm private structure for solid fill layers in hw layer config.
- Add DAL translation of setting up solidfill stages for atomic commit.
- Multiply alpha component of color with plane alpha.

Change-Id: I60ac64beee31986f83fcfe025a7ece02aa0198b1
CRs-fixed: 2026472
2017-07-18 15:45:53 -07:00
Gopikrishnaiah Anandan
76815525eb sdm: drm: Add support for sde hardware revision caching
SDE hardware version should be cached by drm crtc which will be passed
onto the clients of colormanager. Based on the SDE hardware version
clients will know which feature set is supported. Change adds support to
cache sde version.

Change-Id: I09051bcdfc0f759297519c3abd46373944967ada
2017-07-17 10:52:36 -07:00
Linux Build Service Account
37bfa25dc4 Merge "sdm: drm: Read Panel HDR caps" 2017-07-14 03:57:08 -07:00
Sushil Chauhan
80e5843315 sdm: drm: Read Panel HDR caps
Read Panel HDR capabilities from DRMConnectorInfo.

CRs-Fixed: 2073357
Change-Id: I48346e116f147bc3c32967e68e7e4a9e514de2c6
2017-07-11 14:00:34 -07:00
Sushil Chauhan
1021cc0c0a sdm: drm: Add support for secure use cases
1. Set FB Secure translation mode for Plane.
2. Set Security level for CRTC.

CRs-Fixed: 2054074
Change-Id: I39610f2d9548641c724d1a7c16b23865c29323df
2017-07-06 14:21:44 -07:00
Ramkumar Radhakrishnan
3c4de11f27 sdm: Add support for split bandwidth voting
Define interface to enable split bandwidth voting for MNOC, LLCC and
DRAM buses separately.

Change-Id: If8da2cb41270adbe606a1b36d9884ea21c9efd7d
CRs-Fixed: 2063498
2017-06-20 01:13:01 -07:00
Linux Build Service Account
a70a27b4f2 Merge "sdm: drm: Expand drm topology enum for dsc" 2017-06-19 18:58:38 -07:00
Rohit Kulkarni
2faa91c313 sdm: drm: Expand drm topology enum for dsc
Add new topology modes for dsc and align to match with driver.

Change-Id: I202fbfa1240e5e677d832ca32c20ded989aa1ed8
CRs-Fixed: 2060682
2017-06-15 14:46:45 -07:00
Rohit Kulkarni
8622e36f16 sdm: Add support for inline rotator
Add support to populate inline rotator caps and setup inline
rotator configuration during atomic commit.

Change-Id: I6504db71689a865c6edb15e12ab44a6740255cb5
CRs-fixed: 2017744
2017-06-13 15:19:57 -07:00
Prabhanjan Kandula
5bc7f8b378 sdm: Add support for flip panel mount in drm DAL
- Define 180 rotation in drm interface
- Read panel rotation from connector info and
populate panel orientation for sdm

Change-Id: Iaf8417f4eb8d3b8dc6f95f783bcb447cad230c64
CRs-fixed: 2051379
2017-05-31 11:42:55 -07:00
Ramkumar Radhakrishnan
9ed1fd8e79 sdm: Add interface for QOS calculation.
1. Populate properties for bandwidth/clock calculation and store it
   as a part of hw resource info.
2. Define interface to pass computed bandwidth/clock for each hardware
   interface separately.

Change-Id: I1bd03136e97f77f5fd3b26c7b8aa958238d007ab
CRs-Fixed: 2048927
2017-05-19 17:43:17 -07:00
Saurabh Shah
e9f55d7696 sdm: drm: Add support for partial update
Add support for partial update

Change-Id: I29b6c3cdb71e6a26ab21679494f04ced5052a1e3
CRs-fixed: 1114808
2017-05-19 17:08:48 -07:00
Sushil Chauhan
3396e20ce7 sdm: drm: Add support to set power mode
Add support to set various power modes like ON, OFF, Doze and Doze
Suspend on Connector.

CRs-Fixed: 2042514
Change-Id: I824fc26c8048c887f236182111462abcf17f62f7
2017-05-12 23:50:46 -07:00
Saurabh Shah
f9266ee0fa sdm: Do not use driver enums for flips
Driver enums for flips may be removed, use internal ones.

Change-Id: If8576ab3fc9a9f705480265b59ef3e05a1a51018
CRs-fixed: 1114808
2017-04-20 16:12:45 -07:00
Linux Build Service Account
91bba0ef56 Merge "sdm: Add virtual pipe listing support" 2017-04-18 00:18:19 -07:00
Saurabh Shah
0ffee30df7 sdm: Add support for scaler
Add support for scaler v2 / qseed3

Change-Id: If3d48e6ac8e1cf25ac1b0af774dcc34226c0ed9b
CRs-fixed: 1114808
2017-04-10 10:54:03 -07:00
Prabhanjan Kandula
e6dfab972e sdm: Add virtual pipe listing support
-Populate virtual pipes listed by  drm display driver
in resource info as listed in the priority order.
-Remove obsolete RGB support.

Change-Id: I8222a9308d59af681c76008a010ffe086c6bed32
CRs-fixed: 2024306
2017-04-04 17:58:25 -07:00
Prabhanjan Kandula
585aa6593f sdm: drm: add interlaced content support
Add interlaced content support for drm

Change-Id: Iee47e866f1284d07649330d7d0c977ca8e4757d5
CRs-fixed: 2018756
2017-03-26 00:27:18 -07:00
Ping Li
281f48de8a sdm: drm: Add post-processing support in SDM
SDM added support for the DRM driver recently. This change
adds the similar support in the SDM to enable/disable
post-processing features via DRM driver for QDCM.

CRs-Fixed: 2007376
Change-Id: I39d8d2c76a28aac0675c559dceb6dcf74eb170fb
2017-02-27 17:20:30 -08:00
Saurabh Shah
ab7807cd51 sdm: drm: Destroy DRMManager and resource info singletons
Destroy DRMManager and resource info singletons on tear down,
so that back to back tests can parse new resource info afresh.

Change-Id: Ib65f8fec73e7a70e5bf2f444958756d1e5ddc654
2017-02-08 16:52:26 -08:00
Saurabh Shah
66c941bd5d sdm: drm: Add Atomic commit support
Add support for atomic commit, MDP comp for the peripheral display.

Change-Id: I579d3379ba97cbc73485a4434bf29126226e2f85
CRs-fixed: 1114808
2017-02-07 14:37:54 -08:00