Commit Graph

40 Commits

Author SHA1 Message Date
Christina Oliveira
15e352d634 disp: msm: sde: add wait on spec fences for hwfencing
This change adds a wait for input spec fence to bind
before registering for hw fencing wait on it.

Change-Id: I5453547c29672e39a95b91197983075e3b61d1eb
Signed-off-by: Christina Oliveira <quic_coliveir@quicinc.com>
2022-07-12 10:53:03 -07:00
Ingrid Gallardo
62ad586d91 disp: config: add hw fence configuration files for Kalama
Add configuration files to compile hw-fence driver
for Kalama display.

Change-Id: Icd45b7688988b54d6b31bd07998b811116506b30
Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
2022-05-16 12:43:35 -07:00
Rahul Sharma
d28f68dede disp: msm: add augen3 configuration
Add augen3 configuration for SA8155/SA8195/SA6155 family.

Change-Id: I206f0a636ef9f33b4c46cb0159ae2659a3dced59
Signed-off-by: Rahul Sharma <quic_rahsha@quicinc.com>
2022-04-28 07:42:28 -07:00
Vara Reddy
657ac66343 disp: config: enable HDCP config for kalama
Enable HPCP module for Kalama.

Change-Id: I40daa8525b46533818990908404197ed0921c729
Signed-off-by: Vara Reddy <quic_varar@quicinc.com>
2022-04-13 14:05:21 -07:00
Narendra Muppalla
05e82e9f97 disp: msm: add mmrm configs for Kalama
This change adds display mmrm build configs for kalama target.

Change-Id: Ic35f396733c5031ea4f62e0fa3b3b6ea662a198b
Signed-off-by: Narendra Muppalla <quic_nmuppall@quicinc.com>
2022-03-31 12:16:52 -07:00
Vara Reddy
ab946e8852 disp: config: enable msm_ext_display config for kailua
Change enables msm_ext_display module for Kailua.

Change-Id: I8761762b0921a6988f76f4926534787781030e13
Signed-off-by: Vara Reddy <quic_varar@quicinc.com>
2022-03-01 12:06:25 -08:00
Vara Reddy
402b7f58de disp: config: enable dp compilation for kailua
Enable DP and DP_MST compilation flags for Kailua.
Disable ext audio and HDCP until validated.

Change-Id: I7f05e370aed1df07beff568b87cf12ff57b96d63
Signed-off-by: Sandeep Gangadharaiah <quic_sandgang@quicinc.com>
Signed-off-by: Vara Reddy <quic_varar@quicinc.com>
2022-03-01 11:36:33 -08:00
Narendra Muppalla
daa511cb90 Merge remote-tracking branch 'quic/display-kernel.lnx.5.10' into display-kernel.lnx.5.15
* quic/display-kernel.lnx.5.10:
  disp: msm: sde: avoid error during fal10_veto override enablement
  disp: msm: update copyright description
  disp: msm: sde: configure dest_scaler op_mode for two independent displays
  disp: msm: dp: updated copyright set for 4nm target
  Revert "disp: msm: sde: consider max of actual and default prefill lines"
  disp: msm: sde: Reset backlight scale when HWC is stopped
  disp: msm: dp: avoid duplicate read of link status
  disp: msm: dsi: update vreg_ctrl settings for cape
  disp: msm: fail commit if drm_gem_obj was found attached to a sec CB
  disp: msm: dp: updated register values for 4nm target
  disp: msm: sde: update framedata event handling
  disp: msm: dsi: Add new phy comaptible string for cape
  disp: msm: sde: software override for fal10 in cwb enable
  disp: msm: update cleanup during bind failure in msm_drm_component_init
  disp: msm: sde: dump user input_fence info on spec fence timeout
  disp: msm: sde: add null pointer check for encoder current master
  disp: msm: dsi: enable DMA start window scheduling for broadcast commands
  disp: msm: sde: avoid alignment checks for linear formats
  disp: msm: reset thread priority work on every new run
  disp: msm: sde: send power on event for cont. splash
  disp: msm: sde: always set CTL_x_UIDLE_ACTIVE register to "1"
  disp: msm: use vzalloc for large allocations
  disp: msm: sde: Add support to limit DSC size to 10k
  disp: msm: sde: add tx wait during DMS for sim panel
  disp: msm: dsi: add check for any queued DSI CMDs before clock force update
  disp: msm: sde: correct pp block allocation during dcwb dither programming
  disp: msm: sde: avoid setting of max vblank count
  disp: msm: sde: add cached lut flag in sde plane
  disp: msm: sde: avoid use after free in msm_lastclose
  disp: msm: sde: update TEAR_SYNC_WRCOUNT register before vsync counter
  disp: msm: dsi: Support uncompressed rgb101010 format
  disp: msm: sde: update idle_pc_enabled flag for all encoders
  disp: msm: sde: flush esd work before disabling the encoder
  disp: msm: sde: allow qsync update along with modeset
  disp: msm: dp: avoid dp sw reset on disconnect path
  disp: msm: sde: consider max of actual and default prefill lines
  disp: msm: ensure vbif debugbus not in use is disabled
  disp: msm: sde: update cached encoder mask if required
  disp: msm: sde: while timing engine enabling poll for active region
  disp: msm: enable cache flag for dumb buffer
  disp: msm: sde: disable ot limit for cwb
  disp: msm: sde: avoid race condition at vm release
  disp: msm: dsi: set qsync min fps list length to zero
  disp: msm: sde: reset mixers in crtc when ctl datapath switches
  disp: msm: sde: update vm state atomic check for non-primary usecases
  disp: msm: sde: reset CTL_UIDLE_ACTIVE register only if uidle is disabled

Change-Id: If480e7f33743eb4788549f853ba05e744ecb38d3
Signed-off-by: Narendra Muppalla <quic_nmuppall@quicinc.com>
2022-02-08 16:38:13 -08:00
Yashwanth
107f473e54 disp: msm: update copyright description
This change updates copyright description with correct
license marking as per the guidelines.

Change-Id: Ia74b721e78afcc7f8e88bcbccfcf15430111ec37
Signed-off-by: Yashwanth <quic_yvulapu@quicinc.com>
2022-02-01 11:29:21 +05:30
Abhijit Kulkarni
f96beac76e disp: config: correct the copyright markers
This change adds the quic copyright for 2022 changes and
keeps LF copyright for older changes.

Change-Id: I03330a2736fec8711b4440ea6a5a1c0e81f86e21
2022-01-25 13:06:34 -08:00
Steve Cohen
45b81cb324 disp: config: add kalama TUI configuration files
Add Kalama TUI build configurations.

Change-Id: I4ed9ed716c6ea12692bc149f01d34ec46e1d3154
Signed-off-by: Steve Cohen <quic_cohens@quicinc.com>
2022-01-14 16:54:41 -05:00
Jeykumar Sankaran
cf39b00660 Merge branch 'display-kernel.lnx.5.10' into display-kernel.lnx.1.0
Change-Id: I5d2b08380b6b0eb09492b950fb38cd9a0b3196c1
2021-12-08 12:37:35 -08:00
Srihitha Tangudu
f288c1248d disp: msm: add display config support for parrot
Add display config support for compilation on parrot target.

Change-Id: I994b18687187f89b2794a886286280901ca44edb
Signed-off-by: Srihitha Tangudu <quic_tangudu@quicinc.com>
2021-12-01 14:37:16 +05:30
Karthik Andhavarapu
6e05f12db7 disp: msm: add display config support for neo
Add display config support for compilation on neo target.

Change-Id: Ia2b9b8b76f833e233a8bf801485c6dd2104e1700
Signed-off-by: Karthik Andhavarapu <quic_kartkart@quicinc.com>
2021-10-29 12:49:40 +05:30
Ingrid Gallardo
cb20292c2d disp: msm: add build configs for Kalama
Add config files for kalama target and enable compilation.

Change-Id: I4ddd89ef927b32c70b66c54e64a8ae5156cccb29
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
2021-10-15 17:31:30 -07:00
Abhijit Kulkarni
01549b8108 display: msm: sde: reduce dbg mem usage for tui vm
This change adds new config for display driver, to reduce
debug memory usage. If this config is enabled, number of
entries for event logs and register dumps is reduced.
Currently this config is enabled only for TUI VM.

Change-Id: I31570d5743f3e8aa3fc079848553a452b8fccd18
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
2021-08-11 14:32:44 -07:00
Vara Reddy
a3c5b43bf5 disp: enable qseecom hdcp for display port
Change enables hdcp qseecom module for display port.

Change-Id: Ia5b96e4e4a24d13740c3c5e9f462837959ce3f6a
Signed-off-by: Vara Reddy <varar@codeaurora.org>
2021-05-05 23:42:19 -07:00
qctecmdr
df2282649d Merge "disp: msm: add tui vm specific config files" 2021-04-21 07:01:27 -07:00
Jeykumar Sankaran
534cfdfa75 disp: msm: add tui vm specific config files
Add tui vm specific config files where driver configs
are optimized for the TUI usage.

Change-Id: I19f53f3133aa40711b8f7ccf7c323b41e428233d
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
2021-04-12 19:18:58 -07:00
Christina Oliveira
53a934668e drm: msm: move display mmrm enable config to platform config
This change moves mmrm enable flag to the display platform config files.
This allows to selectively enable mmrm in the display driver,
so other platforms not requiring mmrm in their build can compile
with their own config files.

Change-Id: I02415c6a22252dfc483a3da03b623351811ffc01
Signed-off-by: Christina Oliveira <coliveir@codeaurora.org>
2021-04-08 16:38:43 -07:00
Jeykumar Sankaran
5960a1b8b5 disp: config: enable CONFIG_DRM_SDE_VM for waipio
Enable CONFIG_DRM_SDE_VM to enable trusted VM support
for waipio target.

Change-Id: I4d70b3a84f7b612390f5a9925330cf77929b6e7b
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
2021-03-24 15:24:49 -07:00
Rajkumar Subbiah
a2cad30a8b disp: enable msm ext display module
Enable msm ext display module flag to enable dp audio
registration.

Change-Id: If0b444ffe81bbcf77199dc88127affdf0c147fe8
Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
2021-03-15 21:04:26 -04:00
Sudarsan Ramesh
b1120f3470 disp: enable dp compilation on waipio
Enable DP and DP_MST compilation flags for Waipio.

Change-Id: I5b821346c19132a09d3a1100946e8ddb9e8728ac
Signed-off-by: Sudarsan Ramesh <sudarame@codeaurora.org>
2021-02-10 22:34:33 -05:00
Prabhanjan Kandula
eaa7be6e79 disp: disable dp comilation for waipio
This change disables dp compilation on waipio. This is required
till the missing abi symbols for dp compilation are available

Change-Id: Ib8f0a390870ead9c37e89641a49d12a91288c375
Signed-off-by: Prabhanjan Kandula <pkandula@codeaurora.org>
2021-01-19 16:11:11 -08:00
Prabhanjan Kandula
77f7be6b12 disp: msm: enable waipio gki config for dlkm compilation
This change enables compilation of sde, dsi, dp, dp_mst, rsc etc.
for waipio gki config. Change also includes minor fixes in make files
for dlkm.

Change-Id: Ia3f8cfa43ba84239cd7606215196ff57c6a43215
Signed-off-by: Prabhanjan Kandula <pkandula@codeaurora.org>
2021-01-15 00:34:58 -08:00
Yashwanth
af9841fa44 disp: msm: enable SDE rotator driver configs for GKI
This change enables and exports configs to support SDE
offline rotator in GKI. It also removes unused ioctls
for rotator compilation with GKI config.

Change-Id: I7f67aec394f644478173dcfe9e3ff52fe9129615
Signed-off-by: Yashwanth <yvulapu@codeaurora.org>
2020-09-25 14:32:24 +05:30
Raviteja Tamatam
62fd5b82fa disp: msm: enable SDE rotator driver configs
Enable and export configs to support SDE rotator.

Change-Id: I087ef2aab6e59978664d08c43194a43cc6709f33
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
2020-08-14 13:33:06 +05:30
qctecmdr
b70b79128c Merge "makefile: add config support for display techpack for holi" 2020-07-20 22:06:27 -07:00
Jeykumar Sankaran
720f9d0014 disp: msm: sde: add VM files for SDE
Add VM layer files to handle VM specific operations
for primary and secondary VM's. They interact with
Hypervisor RM modules to LEND/ACCEPT/RELEASE/RECLAIM
HW resources. They also handle notifications for each
of the above Hyp RM operations to acquire and update
the SDE software states.

Change-Id: I5982f4bf56550dc464797c62cb356be39925b21c
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
2020-07-16 08:38:36 -07:00
Krishna Manikandan
27c9c25faa makefile: add config support for display techpack for holi
Add required changes to makefile and enable the config
keys for holi target compilation.

Change-Id: I4b48e79c8b26c45f2f54fc1ac02a6e322bda07b9
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
2020-07-14 10:19:01 +05:30
Rajkumar Subbiah
e56293e396 disp: msm: enable DP MST compilation
Enable compilation of DP MST feature. Also ported drm mst implementation to
use updated API definitions. Changes to the API include; removal of hotplug
callback; separate refcounting for topology and memory allocation in mst
port; pass the entire port instead of slot count in
atomic_release_vcpi_slots API.

Change-Id: I951c2978339229ea7e124c2addc114ea5d3cbb3d
Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
2020-05-06 18:51:22 -04:00
Shashank Babu Chinta Venkata
6cda336fc9 disp: msm: make msm_drm as module for GKI
Make msm_drm as DLKM(Dynamically lodable kernel
module) for GKI config.

Change-Id: I1c11c2de9d24da7f26333f94a157c35581bc2459
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2020-04-28 15:52:49 -07:00
Steve Cohen
90cba74599 disp: msm: enable SDE RSC driver compilation
Enable and export configs to support SDE RSC.

Change-Id: Ia0946a65324e1995bfb448e702a03b4dcc99d678
Signed-off-by: Steve Cohen <cohens@codeaurora.org>
2020-03-21 16:22:27 -04:00
Tatenda Chipeperekwa
d8ccb70157 config: enable DisplayPort compilation
Enable compilation of the DisplayPort driver on Lahaina.

Change-Id: Ie8437c136a2daa0f8119b0a592577e5592ce2142
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2020-03-13 20:26:39 -07:00
Abhijit Kulkarni
4239b90e3d makefile:enable display techpack only for QGKI variant
This change enables the display compilation only for qgki
variant until all the dependencies are resolved.

Change-Id: I55577367921df7c7f10e68ef4dad28feea826748
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
2020-01-21 10:39:54 -08:00
Narendra Muppalla
a0b168f7b3 Config: enable techpack display driver compilation for lahaina
This change enables display drivers code compilation
for lahaina target and current location of header files
is replacing the header files in usr/include/drm directory
before installing display specific header files. This change
ensures both the drm and msm_drv header files are exported
to user mode clients.

Change-Id: If6fc347598b902e670b7206dbcb82fe0740b3984
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
2020-01-14 14:10:45 -08:00
Jayaprakash
d927698cc1 makefile: add Bengal config support for display techpack
Add required changes to makefile and enable the config
keys for Bengal target compilation.

Change-Id: I7a27be5feffd132cbc35d4a7aa27521b6841e2fe
Signed-off-by: Jayaprakash <jmadiset@codeaurora.org>
2019-09-19 18:04:44 +05:30
Jayaprakash
6fc9ddcc07 makefile: add LITO config support for display techpack
Add required changes to makefile and enable the configs
for LITO support.

Change-Id: If6da5a5c139220680b0892d0cc8d408a296f1635
Signed-off-by: Jayaprakash <jmadiset@codeaurora.org>
2019-05-07 23:35:59 -07:00
David Ng
e404155bfd makefile: remove make export <all variables> instances
Replace all kernel make export <all variables> instances with
export of specific variables.  Depending on existing build
environment, exporting all as environment variables and
interaction with existing environment variable expansions
can lead to undefined behavior.

Change-Id: Ia46600be605828f9e509d5ced5d3ad3f8c6cb140
Signed-off-by: David Ng <dave@codeaurora.org>
2019-04-29 13:25:09 -07:00
Narendra Muppalla
3709853456 Display drivers kernel project initial snapshot
This change brings msm display driver including sde,
dp, dsi, rotator, dsi pll and dp pll from base 4.19 kernel
project. It is first source code snapshot from base kernel project.

Change-Id: Iec864c064ce5ea04e170f24414c728684002f284
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
2019-04-14 22:20:59 -07:00