コミットグラフ

3311 コミット

作成者 SHA1 メッセージ 日付
Sabarinath M B
de5924f5f5 disp: msm: sde: Set dirty bits for UCSC properties
Map UCSC plane properties to dirty bits to perform operations
correctly.

Change-Id: I6903b62846b8b535477aeca21a6c6e910dd4f6ad
Signed-off-by: Sabarinath M B <quic_sabamb@quicinc.com>
2022-12-14 23:11:59 +05:30
qctecmdr
93943fe159 Merge "disp: config: include msm ext disp as required module" 2022-12-13 13:40:39 -08:00
qctecmdr
8b04fe96d1 Merge "disp: msm: sde: SID programming update for new MDSS" 2022-12-12 13:39:02 -08:00
qctecmdr
dc067912db Merge "disp: msm: sde: enable tui flag in catalog for pineapple" 2022-12-12 13:39:02 -08:00
qctecmdr
3d8b46cd91 Merge "disp: msm: compile pineapple msm with spec fence" 2022-12-12 09:03:38 -08:00
qctecmdr
2fa09612cd Merge "disp: msm: sde: add support for stale llcc APIs" 2022-12-12 09:03:38 -08:00
qctecmdr
59dda9d73f Merge "drm: msm: sde: cache plane csc in sde plane state" 2022-12-08 15:32:51 -08:00
Lakshmi Narayana Kalavala
d3733ff4ae display: msm: sde: Remove the redundant log
Remove the redundant log from the ucsc code.

Change-Id: Ic3e828706248e79f9aa949e2f0875cb41ad291aa
Signed-off-by: Lakshmi Narayana Kalavala <quic_lkalaval@quicinc.com>
2022-12-08 10:48:59 -08:00
Sandeep Gangadharaiah
3729c295ce disp: config: include msm ext disp as required module
Include msm external display as required module for pineapple
and enable the config flag required for the same.

Change-Id: I55b94d594b8d1ee3c20b5e06b67b4e2fd5b21e7c
Signed-off-by: Sandeep Gangadharaiah <quic_sandgang@quicinc.com>
2022-12-07 11:28:20 -08:00
qctecmdr
1b41f20d86 Merge "disp: msm: dsi: add support for phy/pll bypass" 2022-12-06 12:50:41 -08:00
Rajkumar Subbiah
6d5a850504 disp: msm: dsi: add support for phy/pll bypass
This change adds support for bypassing hw access in DSI PHY/PLL
drivers which enables the DSI driver to run on emulation
platforms that might be missing those modules.

Change-Id: I3e83155a79d60f2357606746214d776cefabd651
Signed-off-by: Rajkumar Subbiah <quic_rsubbia@quicinc.com>
Signed-off-by: Shamika Joshi <quic_shamjosh@quicinc.com>
Signed-off-by: Alex Danila <quic_eadanila@quicinc.com>
2022-12-06 07:25:12 -08:00
Sandeep Gangadharaiah
d35438d1be disp: msm: dp: reorder update payload call during slot calculation
Currently get vcpi info call is returning wrong slot info since update
payload function is called afterwards. The latter function is calculating
the slot info which is read back by get vcpi call. This change reorders
these function calls. Also, this change sets start_slot to be always 1.
This is the value expected by upstream driver for atomic drivers.
This is a follow up change for the commit 19a9abf064
("disp: msm: dp: update MST first link slot information").

Change-Id: I620125a2d73afb7537a3540ee129e2a4eb0c488c
Signed-off-by: Sandeep Gangadharaiah <quic_sandgang@quicinc.com>
2022-12-05 13:13:42 -08:00
Amine Najahi
a08217d5fa disp: msm: sde: increase log level priority for in log register dump
Increase the log level of the prink statements to dev_err
when a register dump is triggered. This will allow user to
capture the values independently of the target default log level.

Change-Id: I67f8c854a274b70d1595e74136095ef91584ca90
Signed-off-by: Amine Najahi <quic_anajahi@quicinc.com>
2022-12-04 12:24:36 -08:00
Christopher Braga
8f1d4ca416 disp: msm: sde: Update LUT DMA reg dump ranges and offsets
Update the LUT DMA register range registration to target
specific ranges of valid registers instead of the full
memory region of the LUT DMA module. This ensures that
unused LUT DMA register regions are not dumped.

Change-Id: I3739692ae7fcfd5777bb8774dd34c16ab87c3ae1
Signed-off-by: Christopher Braga <quic_cbraga@quicinc.com>
2022-12-02 13:05:55 -05:00
Nilaan Gunabalachandran
a6dca718e5 disp: msm: sde: add support for stale llcc APIs
This change adds support for enabling the system cache
slices with staling. This allows back to back static display
cache usecases to self evict prior to using cache.

Change-Id: Iea71da26a8f7a450822624305dc20a3bab323d4b
Signed-off-by: Nilaan Gunabalachandran <quic_ngunabal@quicinc.com>
2022-12-01 15:19:08 -05:00
Alex Danila
92f79d8be1 disp: msm: compile pineapple msm with spec fence
Enabled compilation of msm driver with spec fence component.

Change-Id: I6f9e1f4930639a5f5e043ecd5b9addf4d6f233b5
Signed-off-by: Alex Danila <quic_eadanila@quicinc.com>
Signed-off-by: Nilaan Gunabalachandran <quic_ngunabal@quicinc.com>
2022-12-01 14:16:34 -05:00
Gopikrishnaiah Anand
7780b7a8c2 drm: msm: sde: cache plane csc in sde plane state
Pipe csc configuration is being cached in the sde plane which can cause
race conditions between hardware programming and caching.
All drm properties should be cached in sde plane state to avoid race
conditions. Change moves caching to sde plane state.

Change-Id: I22470a82b2fc2812f8c526ababc2b517db13a3ce
Signed-off-by: Gopikrishnaiah Anand <quic_agopik@quicinc.com>
2022-11-29 15:27:08 -08:00
Prabhanjan Kandula
7329e09b69 disp: msm: sde: fix split control programming
This change avoid programming of legacy bit fields which
are conflicting with TE alignment feature bit fields
of split control register of peripheral top block.

Change-Id: Ib9f519ec82ee3b3885351dff960b176c99dcf08d
Signed-off-by: Prabhanjan Kandula <quic_pkandula@quicinc.com>
2022-11-28 14:09:28 -08:00
qctecmdr
7d464a818c Merge "disp: msm: sde: fix 3dmux bookkeeping during resource info check" 2022-11-23 21:27:07 -08:00
qctecmdr
5955e837fc Merge "disp: msm: sde: adds ipcc client dpu phys id for hwfence config" 2022-11-23 21:27:07 -08:00
qctecmdr
843ce3d049 Merge "disp: msm: dsi: Correct minimum bit clk calculation for cphy cmd mode" 2022-11-23 21:27:07 -08:00
qctecmdr
66f92cdea9 Merge "disp: msm: dp: fix vco rate calcuation for stream clocks" 2022-11-23 21:27:06 -08:00
Sandeep Gangadharaiah
52a0b8ab86 disp: msm: sde: fix 3dmux bookkeeping during resource info check
Currently, num of 3dmux used is incremented or decremented based
on LM allotment. This was leading to wrong bookkeeping in few
corner cases. This change maintains a 3d mux mask to track the
usage and update the count accordingly.

Change-Id: Idf25eff827462f3f0263d01a1aa733a1cbaf0a83
Signed-off-by: Sandeep Gangadharaiah <quic_sandgang@quicinc.com>
2022-11-23 09:19:29 -08:00
Grace An
340a1c3099 disp: msm: sde: adds ipcc client dpu phys id for hwfence config
This change adds a device-tree configurable property to define
the ipcc client id of the dpu used for registers access and
configuration. Starting pineapple, this is the ipcc client physical
id, distinct from the ipcc client virtual id.

Change-Id: Icb59111c85c7132c0efd7b207eaa5417cca013eb
Signed-off-by: Grace An <quic_gracan@quicinc.com>
2022-11-23 09:19:16 -08:00
Srihitha Tangudu
6fb25a2f3d disp: msm: dsi: Correct minimum bit clk calculation for cphy cmd mode
For calculating bit rate in cphy, we multiply bit rate by a factor of
7/16 where 7 is the number of symbols and 16 is the bits per symbol.
But we are currently not considering the 7/16 factor while calculating
minimum bit clk value for command mode which is resulting in a smaller
bit rate value than the minimum bit clk.

Bit rate should always be greater than the minimum bit clk which otherwise
can lead to discrepancies. Correct minimum bit clk calculation for command
mode, by multiplying a factor of 7/16 if cphy.

Change-Id: I39b202dcafe60e2047549f84ff9388b46ae490a5
Signed-off-by: Srihitha Tangudu <quic_tangudu@quicinc.com>
2022-11-23 09:19:03 -08:00
Prabhanjan Kandula
86ae9207d9 disp: configs: enable mmrm from display driver
This change enables mmrm usage from display driver.

Change-Id: I2fea7396c76162b649977dcda0fb19519506ae59
Signed-off-by: Prabhanjan Kandula <quic_pkandula@quicinc.com>
2022-11-22 15:15:59 -08:00
qctecmdr
b3b8331cdb Merge "disp: msm: dp: include HDCP files under HDCP compile flag" 2022-11-21 13:11:36 -08:00
Sandeep Gangadharaiah
b96376cfd1 disp: msm: dp: fix vco rate calcuation for stream clocks
This change fixes the incorrect calculation of VCO rate for
stream clocks. This issue was introduced because of a previous
commit e4e277ad36 ("disp: msm: dp: Convert clock operations to byte2 ops").

Change-Id: I2886f98a95fd7c166edabec3fc023dc9846c201d
Signed-off-by: Sandeep Gangadharaiah <quic_sandgang@quicinc.com>
2022-11-21 07:03:23 -08:00
qctecmdr
fa25880845 Merge "disp: msm: sde: add decimate support for decimatev2" 2022-11-17 11:00:33 -08:00
Alisha Thapaliya
96703ff6e7 disp: msm: sde: add decimate support for decimatev2
Divide panel width additionally by half when decimate
is enabled.

Change-Id: I043ad8b02dddd396c74b70b9a834eac68ee881a8
Signed-off-by: Alisha Thapaliya <quic_athapali@quicinc.com>
2022-11-15 10:18:48 -08:00
Prabhanjan Kandula
f518796f9e disp: msm: sde: add danger safe QoS LUT support for WB rotate
This change adds support for updating danger, safe and creq LUT
configuration for WB rotation use case.

Change-Id: I01784be4ea4ac5b027258df2907f3ba745a05850
Signed-off-by: Prabhanjan Kandula <quic_pkandula@quicinc.com>
2022-11-15 02:11:24 -08:00
Mitika Dodiya
c9298e3712 disp: msm: sde: add demura v2 support
Add support for demura v2 by adding demura blocks
2 and 3 for pineapple target.

Change-Id: I9e6107480ab44853ca49e6396787378c5c70557a
Signed-off-by: Mitika Dodiya <quic_mdodiya@quicinc.com>
2022-11-14 22:18:38 -08:00
Prabhanjan Kandula
3e0575903c disp: msm: sde: add VBIF QoS remap settings for WB rotate
This change adds support for the device tree entry parsing and
programming of VBIF Qos remap settings in WB rotate use case.

Change-Id: I729abc3562b70bf85217130aebeeeabc2fca04da
Signed-off-by: Prabhanjan Kandula <quic_pkandula@quicinc.com>
2022-11-14 18:55:23 -08:00
Nisarg Bhavsar
571d51727b disp: msm: dp: issue peripheral flush on every DP commit
As per DP HPG recommendation, controller flush mode is
set to be synchronous with a vsync. This requires a
peripheral flush to be issued for HDR SDP to be processed.
Currently in a static HDR use case, since the peripheral
flush is not issued after queueing an HDR SDP, it never
gets sent to the sink and it stays in SDR mode. This change
issues a peripheral flush on every DP commit, so that
any pending SDPs are flushed.

Change-Id: I0ed82b6cd8df33539a3067c6ad9827f74de2ed51
Signed-off-by: Nisarg Bhavsar <quic_bhavsar@quicinc.com>
2022-11-13 15:25:37 -08:00
qctecmdr
f08f714919 Merge "disp: msm: dp: fix bpp to 24 in TU calc for SST DSC" 2022-11-13 09:31:20 -08:00
Rajkumar Subbiah
2238b58cf0 disp: msm: dp: fix bpp to 24 in TU calc for SST DSC
When using the TU calculator for SST DSC usecase, the calculator
expects the bpp to be 24 irrespective of the actual panel bpp.

Change-Id: Ifdab2c00a2a99b4d7d7dea7eadb33bc34e3cfa8b
Signed-off-by: Rajkumar Subbiah <quic_rsubbia@quicinc.com>
2022-11-13 02:53:19 -08:00
Rajkumar Subbiah
dd369b2bdb disp: msm: dp: use compressed bpp for RG calculation
When calculating the Rate Governor parameters for MST, if the
stream is compressed, the calculator expects the input bpp to be
the compressed bpp, but currently the driver is passing uncompressed
bpp. This change updates the driver to pass compressed bpp to the
calculator.

Change-Id: Iac51d75843bd0072bbe07142ac4533d841f795f5
Signed-off-by: Rajkumar Subbiah <quic_rsubbia@quicinc.com>
2022-11-13 02:53:07 -08:00
qctecmdr
fb5ecba0af Merge "disp: msm: sde: add events to input and output hw-fences" 2022-11-13 01:12:23 -08:00
qctecmdr
5d9937069a Merge "disp: msm: sde: remove unnecessary debug message" 2022-11-13 01:12:23 -08:00
qctecmdr
69a4938d5d Merge "disp: config: add pineapple TUI configuration files" 2022-11-13 01:12:23 -08:00
Ingrid Gallardo
7427045102 disp: msm: sde: add events to input and output hw-fences
Add extra display driver debug events for input and output
hw-fences.

Change-Id: I32be1d25d98c510ebba5d39f8aff2a0c54144ba1
Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
2022-11-11 07:15:05 -08:00
Ingrid Gallardo
188cfbc717 disp: msm: sde: fix to avoid creating hw-fences for empty spec fences
Current display driver sets the hw-fences as valid even when
the speculative fence is empty. Avoid this issue by doing a
positive check and only create hw-fences if all the fences in
the speculative fence are valid.

Change-Id: Iec9636641ac9146eb651be08615e2478994c2508
Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
2022-11-11 07:14:55 -08:00
Ingrid Gallardo
d57732d554 disp: msm: sde: remove unnecessary debug message
Move print message from error to debug for a failure that is not fatal
but can be expected when a crtc doesn't have a hw ctl, in this case
driver will handle the output fence as a sw-fence.

Change-Id: I908135dce4336b0c9ec3fa388dc9211c6df97f68
Signed-off-by: Ingrid Gallardo <quic_ingridg@quicinc.com>
2022-11-11 07:14:48 -08:00
Sandeep Gangadharaiah
22fec71006 disp: msm: dp: include HDCP files under HDCP compile flag
Files used for HDCP ops in the driver are not included
under compile flag for HDCP. This change includes
these files under this condition which will enable DP
driver to be built even with HDCP disabled.

Change-Id: Iff3d9468d007da4342011b8e0e52f3f995425a0b
Signed-off-by: Sandeep Gangadharaiah <quic_sandgang@quicinc.com>
2022-11-09 15:07:35 -08:00
Nilaan Gunabalachandran
275c881ae4 disp: msm: fix printk argument errors
This change fixes printk arguments in display driver which is
found with additional compilation flags and adds the compile
flags too.

Change-Id: Ic653591db49b49b9ce1ce04e7df89216772d0e71
Signed-off-by: Nilaan Gunabalachandran <quic_ngunabal@quicinc.com>
2022-11-09 11:13:04 -08:00
qctecmdr
58285a9dd0 Merge "drm: msm: sde: Add support for SPR V2" 2022-11-09 07:29:49 -08:00
Raviteja Tamatam
0b7821f40e disp: msm: sde: SID programming update for new MDSS
New SID registers are added from display MDSS 10.0.0.
Changes are made to program these lutdma related SID
registers.

Change-Id: I691c234d4968f0fd0f603f07360364ec9cf15f52
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
2022-11-07 17:30:22 -08:00
Raviteja Tamatam
dc08bb32fb disp: msm: sde: enable tui flag in catalog for pineapple
Enable trusted vm flag for pineapple target.

Change-Id: I40165162c504d0de675899ae791d58e36da3f5fe
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
2022-11-07 16:27:27 -08:00
Raviteja Tamatam
4f8c2cf667 disp: msm: sde: fix wrong message arguments in sde
Fix debug message arguments in sde which are found with
-Wformat-extra-args and -Wstrict-prototypes compilation
flag and add compile flags to msm compilation.

Change-Id: Ic7f30e0cab3ea16b7f2a34658262b6f51da259e9
Signed-off-by: Raviteja Tamatam <quic_travitej@quicinc.com>
Signed-off-by: Nilaan Gunabalachandran <quic_ngunabal@quicinc.com>
2022-11-07 15:58:12 -05:00
Christopher Braga
d617e25729 drm: msm: sde: Add support for SPR V2
Introduce support for SPR V2 features. Full validation
has been performed.

Change-Id: Ia83c06b30729fef12cae014ee5ce4792236a0a8a
Signed-off-by: Christopher Braga <quic_cbraga@quicinc.com>
2022-11-07 15:54:04 -05:00