Commit Graph

3768 Commits

Author SHA1 Message Date
ZeeLog 293643a59f Merge tag 'LA.UM.8.6.r1-04000-89xx.0' of https://source.codeaurora.org/quic/la/platform/hardware/qcom/display into HEAD
"LA.UM.8.6.r1-04000-89xx.0"

Change-Id: If142cc92b0250dc10fbb3dff72a9503aa9c70610
2020-03-31 22:44:53 +02:00
Linux Build Service Account aedd9a1e46 Merge 8df53c0f07 on remote branch
Change-Id: I4490a8c8795b6859a35a94e2e8bc6dc62e03328b
2020-02-21 13:44:24 -08:00
Karthi Kandasmay 8df53c0f07 commonsys-intf: display: Move extn interface to include
Change-Id: Ieaab7823050fc6ca8b06c80aedc813c75853a518
2020-02-17 21:56:49 -08:00
Karthi Kandasmay 99a5e7be98 commonsys-intf: display: Add extension interfaces
- composer_extn_intf.h
- frame_scheduler_intf.h
- layer_extn_intf.h

Changes taken from -
Change-Id: I2d1a7ba2e950910a81f4c2b86b93f5f03c2c3fd5
Change-Id: I73d7105994f7fb8e25fd9b1dc430c220d13357a6
Change-Id: Ic00d30a8fffc8d73888c4e1bc82312920f2bb284

Change-Id: Ie02cba4f5d57d079fbe7488c20b7b1d8aaf7b296
2020-02-16 22:54:32 -08:00
qctecmdr 46808b0adf Merge "sdm : use pixel clock for selecting best resolution." 2020-02-05 00:52:47 -08:00
qctecmdr 3b33f7008a Merge "hwc: Handle HPD received before first commit." 2020-02-04 22:55:45 -08:00
Namit Solanki 10519d22d8 sdm : use pixel clock for selecting best resolution.
Change-Id: I744d4fe50de5d6da19823500cf8448b110ea6f1e
2020-02-04 21:58:41 -08:00
qctecmdr ed43078946 Merge "sdm : use dest scale map for dest scale count" 2020-02-04 05:44:20 -08:00
qctecmdr d5ed111272 Merge "sdm: Fix resolution mismatch between mixer and active config." 2020-02-04 05:29:47 -08:00
Namit Solanki e361cf2ffb sdm : use dest scale map for dest scale count
Change-Id: Ia62dc52b6dc15337ff83ab48f1e01b03c613c79b
2020-02-03 04:34:04 -08:00
Namit Solanki 02517ee252 sdm : Do not enable dest scale for HDMI as secondary
Change-Id: I7d436d5504605ce189a18597f155fc133f576ece
2020-02-03 04:30:38 -08:00
Namit Solanki ad1f7bfb7d sdm: Fix resolution mismatch between mixer and active config.
Change-Id: I37b08678d7f6402afabfc81d5716849d4d2b8bb0
2020-02-03 04:27:47 -08:00
Namit Solanki 200d983b03 sdm: Fix closest resolution algorithm.
- if mixer resolution is not equal to
    any support TV resolution, get closest
    suported TV resolution with mixer resolution.

Change-Id: Ife551cde17899521b6bea65106c8190528033ef6
2020-01-30 23:41:46 -08:00
Namit Solanki bb33a17844 sdm: Fix display resolution change in destination scaler.
Change-Id: I68cc1a4a15b14f467b9f8d07ca892121ff406e22
2020-01-30 23:39:15 -08:00
Namit Solanki b267c29cce sdm: Add support for destination scaler
- Use mixer_resolution property to enable
  Destination scaler.
- Mixer resolution is informbed to SF as FB
  resolution.
- If mixer resolution does not match to any
  supported TV res. , use closest supported
  TV resolution.
- Do not fail mixer res. update. If mixer
  resolution ratio do not match to display
  resolution ratio, update mixer resolution
  accordingly.
- Apply mix cap of mixer res. to user provided
  mixer resolution.

Change-Id: I3aa5c3aeee71962da2d893cbe5b02eb5ea4dd876
2020-01-31 12:46:54 +05:30
Namit Solanki 7e909748a9 hwc: Handle HPD received before first commit.
Change-Id: I966270f193a5727ae596710b329853fd06f4ef7b
2020-01-30 22:23:23 -08:00
qctecmdr d58893ed47 Merge "sdm : Do not call refresh callback if callback is not registered." 2020-01-29 04:45:56 -08:00
qctecmdr 299e3476de Merge "sdm: Prefer YUV420 format for TV with HDR support." 2020-01-29 04:19:29 -08:00
qctecmdr d2fb36a991 Merge "hwc2: Allow HDCP encryption call for HDMI as primary" 2020-01-29 03:45:22 -08:00
Namit Solanki 904b74d56f sdm : Use HDCP path for min encryption level change.
Change-Id: I5c268f56ac300f0f3cd35349730fa3e90b49c823
2020-01-28 21:45:50 -08:00
Namit Solanki 405d925f2c hwc2: Allow HDCP encryption call for HDMI as primary
Change-Id: Ie8160178b0474d4afb1007fb6368bd5a0f0c7ab2
2020-01-28 21:42:53 -08:00
Namit Solanki 33ddeb5d93 sdm: Prefer YUV420 format for TV with HDR support.
Change-Id: Ie3f1f1382432e8e3e4e0923fdab3f8f8619a643c
2020-01-28 21:39:47 -08:00
Namit Solanki fc55c59ceb sdm : Do not call refresh callback if callback is not registered.
Change-Id: Ia7d1cf68e67f8c7a8b7154ce7fc00a9e151d6944
2020-01-28 21:25:48 -08:00
Namit Solanki 91e9b4eb45 sdm : Use primary display node for events for HDMI as primary
- Vsync callback should be called with primary display ID.

Change-Id: Ie17887ed7dba69eb3e76dc8e82ec2a497acdcf72
2020-01-27 20:33:05 +05:30
dianlujitao 744e84a5bf Merge tag 'LA.UM.8.6.r1-02900-89xx.0' of https://source.codeaurora.org/quic/la/platform/hardware/qcom/display into HEAD
"LA.UM.8.6.r1-02900-89xx.0"

Change-Id: I71be15dd452a6548b0699e56899537d7f8e1d814
2020-01-12 15:35:44 +08:00
Linux Build Service Account c1c31db9ee Merge 50f451474a on remote branch
Change-Id: Ibe22a594319f1ef5d2215a2db763e6af06c673c2
2019-12-04 00:19:47 -08:00
Linux Build Service Account 50f451474a Merge "hwc2: Add support for IDisplayConfig version 1.9" into display.lnx.3.3 2019-11-27 23:24:19 -08:00
Linux Build Service Account dfe9b46adc Merge "gpu_tonemapper: ion fix" into display.lnx.3.3 2019-11-27 23:23:22 -08:00
Linux Build Service Account ec4118e9a8 Merge "hwc2: Implement display config 1.7 interfaces." into display.lnx.3.3 2019-11-27 23:23:18 -08:00
Karthi kandasamy f0aa5b5b35 hwc2: Add support for IDisplayConfig version 1.9
Implement isDisplayBuiltIn interface

Change-Id: I1d0ab15408324d98a531ade67528da5989b4f7f0
Signed-off-by: Karthi Kandasamy <kartka@codeaurora.org>
2019-11-22 15:05:11 +05:30
Dileep Marchya 2ba71499ae hwc2: Implement display config 1.7 interfaces.
Change-Id: I5d68407ed388e62d7900944c90d407549535c0da
CRs-Fixed: 2362214
Signed-off-by: Karthi Kandasamy <kartka@codeaurora.org>
2019-11-22 14:37:06 +05:30
Devpushp Ohri 5f561d822b gpu_tonemapper: ion fix
Update LOCAL_C_INCLUDES with kernel_includes to
resolve compilation error.

Change-Id: Iabe2250ff926375ff352397f288bb1138b300bd1
2019-11-20 20:43:28 -08:00
Linux Build Service Account 1050ecbd20 Merge "gralloc: Changes to align to new ion api requirements" into display.lnx.3.3 2019-11-14 01:32:20 -08:00
Linux Build Service Account 9c0739a09c Merge "gpu_tonemapper: ion fix" into display.lnx.3.3 2019-11-14 01:32:18 -08:00
Devpushp Ohri bb98d30e77 gralloc: Changes to align to new ion api requirements
Update ion handling in gralloc to align to new ion api
requirements.
Based on compile time flag TARGET_ION_ABI_VERSION,
gralloc will call old ion api or new libion apis

Change-Id: I9905a6a6edade9bcd70fa6e20b5593a26d088457
CRs-Fixed: 2185970
2019-11-11 17:55:25 +05:30
Devpushp Ohri 19d5465b5e gpu_tonemapper: ion fix
Updating EGLImageWrapper since ion cookie is deprecated. Unique dmabuf
names are required to replace ion cookie. LruCache does not support
string keys, additional string to int map added.

Properly fixes change: I6b3360cf0f8eb87cfc0a3acf9b7244c0d7d54001

Change-Id: I440a181fd60c4e002e183860c2dbeff50a0bf23d
CRs-Fixed: 2186983
2019-11-11 17:49:43 +05:30
Linux Build Service Account 8f569306e2 Merge fdfb51f66a on remote branch
Change-Id: Id4317233000cc7ebb23ad49047ff0858dda60fba
2019-11-04 01:36:46 -08:00
Subash Chander fdfb51f66a hwc2: Validate bounds check for input parcel
CRs-Fixed: 2517976
Change-Id: Iba254b3579cd2c258c3cf80fe234a0de7d75e599
2019-10-22 13:49:47 +05:30
Steve Kondik 68d453ef71 hwc: Set ioprio for vsync thread
Author: Steve Kondik <steve@cyngn.com>
Date:   Sun Sep 20 17:11:20 2015 -0700

    hwc: Set ioprio for vsync thread

     * We're not doing this automatically anymore.

    Change-Id: I0ba52fe4648938bd7a0309bc03dc439e3d906970

Author: dianlujitao <dianlujitao@lineageos.org>
Date:   Fri Mar 1 11:23:27 2019 +0800

    hwc: Remove _vendor from libbfqio

    Change-Id: I99c857ed79138222a16c79dc9d4a30bdb0205e9b

Change-Id: Ic7b551ef1050abd9184e620c58a3a7f8f64f1817
2019-10-18 17:18:30 +03:00
Linux Build Service Account ab7546df5e Merge 7388f47bb3 on remote branch
Change-Id: I3a42a3abb83361c38c2c512ba25716f958326835
2019-10-15 07:20:09 -07:00
Ray Zhang 98abd173ff Revert "Revert "commonsys-intf: display: Update SmoMo interface""
This reverts commit c777095ae0.

Change-Id: I59265343e94850ef03f8cfe8c626d9e47d37f50a
2019-10-10 19:59:39 -07:00
Steve Kondik a1ca3a9754 Don't build lights module if vendor supplies it
Change-Id: I63589281961e1120e7536798df6d78b8a7af4304
2019-09-28 01:21:40 +05:30
Ethan Chen ced789792c display: Use project pathmap
Change-Id: Iabcd263ecf9f4eb28f4cd53862ba663c81275c10
2019-09-28 01:21:40 +05:30
Karthi kandasamy 7388f47bb3 gralloc: Use actual layer count from buffer descriptor
Use actual layer count passed in buffer descriptor for size
calculation in ValidateBufferSize and AllocateBUffer API.

Change-Id: I8a5bd8196cd3e34da5c24a111ced4161d6be6b1e
Signed-off-by: Karthi kandasamy <kartka@codeaurora.org>
2019-09-20 10:25:36 +05:30
Linux Build Service Account 7bb7c3d05a Merge f025b24998 on remote branch
Change-Id: Ia23dfbf1c9f9fcc4dd69e0a6a38aa5d522dda771
2019-09-17 10:23:40 -07:00
Linux Build Service Account f025b24998 Merge changes I5a8940b5,I9762cd05 into display.lnx.3.3
* changes:
  gralloc: Refactor size calculation
  gralloc: Implement IMapper::2.1
2019-09-12 23:59:36 -07:00
Ramakant Singh c777095ae0 Revert "commonsys-intf: display: Update SmoMo interface"
This reverts commit bc88f00c99.

Change-Id: If59cae719a33a63ed407009d7f11dd6cb6234a53
2019-09-06 01:17:45 -07:00
Linux Build Service Account da7ea47c61 Merge "sdm: Add frame extn interface" into display.lnx.3.3 2019-09-06 00:19:12 -07:00
Devpushp Ohri 42f23ac43c sdm: Add frame extn interface
Change-Id: I7aef1a886fb5939c3113fcddbc1b27abef9c165e
2019-09-04 04:12:19 -07:00
Rajavenu Kyatham 29a940328e commonsys-intf: display: Add frame extn interface.
CRs-Fixed: 2482022
Change-Id: Iab4470b2f6fc5161a84557de3d50dfca6f591940
2019-09-04 15:54:03 +05:30