Commit Graph

74997 Commits

Author SHA1 Message Date
Wyon Bi
099bdfba32 drm/bridge: analogix_dp: Add source capacity limits in .mode_vaild
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I2a60ee26534ebda02dabe3c22453ad70b0aebdc3
2022-03-23 20:12:21 +08:00
Damon Ding
935ab6f7c2 drm/bridge: sii902x: add check of embedded bus format
In addition, add log to check the result of enabling
TPI mode and initializing sii902x.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Id09c7e40d7706bd3cfcbb34b775ad5450d703fec
2022-03-23 09:50:41 +08:00
Damon Ding
8e04534d8c drm/rockchip: vop: assign crtc atomic API mode_valid
In order to avoid the invalid settings of display mode,
assign crtc atomic API mode_valid as vop_crtc_mode_valid.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I9abc1e93308d18bde55027163b4c01f32a8429a4
2022-03-22 20:37:39 +08:00
Sandy Huang
07de89a542 drm/rockchip: vop2: aclk adjust only when have one active VP
VP share same vop aclk, so only when have one active vp we can adjust aclk
rate in psr mode.

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I6c3ea84f5ab8a33d7c48e3c49c4426344e644a8a
2022-03-22 11:45:56 +08:00
Algea Cao
b948c50465 drm/bridge: synopsys: dw-hdmi-qp: Get uboot status when hdmi bind
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I050987ca3ef4e5cd738cef998f68390b7187cd8c
2022-03-21 15:25:22 +08:00
Algea Cao
0d8aa5c744 drm/bridge: synopsys: dw-hdmi-qp: Don't set picture_aspect_ratio to none when get edid failed
The value must match that of uboot.

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I99e593cf6c85ffc2aeaa6e1055a1294124096dc3
2022-03-21 14:23:12 +08:00
Damon Ding
69b53f960d drm: Kconfig: CONFIG_DRM select I2C_ALGOBIT if !ROCKCHIP_MINI_KERNEL
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Ic58fc4efc06f585dd762b97d7117888743deb625
2022-03-18 15:21:58 +08:00
Damon Ding
7c7517b5c1 drm: Kconfig: CONFIG_DRM select CONFIG_HDMI if !ROCKCHIP_MINI_KERNEL
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I7e7fc74d737796a5c777a2d845dc9f58c0b3b5e1
2022-03-18 15:17:20 +08:00
Lei Chen
230ee551c9 drm/rockchip: dsi2: fix support dynamic binding to different vp port
Fixed VOP_OUTPUT_IF_MIPI being turned off when switching resolution

Signed-off-by: Lei Chen <lei.chen@rock-chips.com>
Change-Id: I4f432a7d352578baa9351e2f859afd67b4ea0152
2022-03-18 15:06:09 +08:00
Algea Cao
3fa1ab4d9a drm/bridge: synopsys: dw-hdmi-qp: Fix sending incomplete long cec msg
If FRAME_SEND_CLR_P was set, cec packets may be sent incomplete.

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ic67518ea0c794fe6f997c87e45dedbfd6fb1fde3
2022-03-17 16:50:34 +08:00
Algea Cao
4e7fb3b61d drm/bridge: synopsys: dw-hdmi-qp: Support for any resolution
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: If8d20f351b7ad2c9f526d546d515b38a3d334f3d
2022-03-17 16:46:21 +08:00
Andy Yan
925acfb272 Revert "drm/rockchip: vop2: Disable aclk of video port when it unused"
This reverts commit e5cb1f01cd.

This function is not stable.

u-boot should also revert this commit:
0b728e80d451 ("drm/rockchip: vop2: disabled aclk of video port when unused")

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I8f3b1180c29a670433a12993f18b33716bef288f
2022-03-16 14:29:46 +08:00
Sandy Huang
2f4d9c9d83 drm/rockchip: vop2: fix port mux error when at 8k hdr10 + dual display
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I038923d38794605938d84a55280a1aca958506ed
2022-03-16 09:16:44 +08:00
Wyon Bi
dd10fa5593 drm/rockchip: dw-dp: Fix dynamic range in vsc sdp
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: Ifa48bc2312216f03900ec98d5ab6334815e33a4c
2022-03-15 17:48:13 +08:00
Guochun Huang
7cceedfb74 drm/panel: panel-simple: add error message to debug.
in order to directly determine the specific error
location of panel_simple_probe from error message
as follow:

BUG:
[    2.055658] rockchip-drm display-subsystem: bound ff900000.vop (ops
vop_component_ops)
[    2.055791] rockchip-vop ff8f0000.vop: missing rockchip,grf property
[    2.056148] rockchip-drm display-subsystem: bound ff8f0000.vop (ops
vop_component_ops)
[    2.056505] [drm:rockchip_dp_bind] *ERROR* failed to find panel
[    2.056732] rockchip-drm display-subsystem: failed to bind
ff970000.edp (ops rockchip_dp_component_ops): -517
[    2.057374] rockchip-drm display-subsystem: master bind failed: -517

Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: I2ceeaa9fac3834ad0c4b2bc0a4d8ab79050dfd8b
2022-03-12 19:32:59 +08:00
Sugar Zhang
d27ca5b359 drm/bridge: synopsys: dw-hdmi-qp: Fix audio infoframe
AUDI_CONTENTS0: { RSV, HB2, HB1, RSV }
AUDI_CONTENTS1: { PB3, PB2, PB1, PB0 }
AUDI_CONTENTS2: { PB7, PB6, PB5, PB4 }

PB0: CheckSum
PB1: | CT3    | CT2  | CT1  | CT0  | F13  | CC2 | CC1 | CC0 |
PB2: | F27    | F26  | F25  | SF2  | SF1  | SF0 | SS1 | SS0 |
PB3: | F37    | F36  | F35  | F34  | F33  | F32 | F31 | F30 |
PB4: | CA7    | CA6  | CA5  | CA4  | CA3  | CA2 | CA1 | CA0 |
PB5: | DM_INH | LSV3 | LSV2 | LSV1 | LSV0 | F52 | F51 | F50 |
PB6~PB10: Reserved

AUDI_CONTENTS0 default value defined by HDMI specification,
and shall only be changed for debug purposes.
So, we only configure payload byte from PB0~PB7(2 word total).

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Idfbb34ff7f7069af4e73c6995f32eefa798a9450
2022-03-12 16:29:28 +08:00
Sugar Zhang
ea0f840194 drm/bridge: synopsys: dw-hdmi-qp: Fix channel status
* LPCM: BPCUV insertion by hw
* NLPCM/HBR: BPCUV insertion from stream

when BPCUV is from stream, we should not enable hw channel
status override which will replace CS with the hw one.
This fixes DD+ bitstream.

when BPCUV generated from HW, PBIT_FORCE_EN should be set
for Parity bit calculated internally.
This fixes no sound on some display devices.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I3aa0390d9dd7d217853394c74576749c36b84720
2022-03-12 16:29:22 +08:00
Algea Cao
de16913c3b drm/rockchip: dw_hdmi: Make sure dclk is enabled when set audio registers
Change-Id: Idb62c2c9ea0d75d7090ec3e35c7742b0d42b3e43
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2022-03-12 16:29:07 +08:00
Algea Cao
c14ae13e54 drm/rockchip: vop2: Save crtc id in rockchip_crtc_state
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Iadcf16d59241f4915421f5c3937d4abe0a9bc304
2022-03-12 16:28:59 +08:00
Algea Cao
f0b4873247 drm/bridge: dw-hdmi-qp: Send AVI/DRMI packet once per field
Increasing the sending frequency of infoframe improves
compatibility.

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I095495d8d6641e7263de6cf2d3359f645aac2d6b
2022-03-12 16:19:30 +08:00
Algea Cao
4acfe816a6 drm/bridge: dw-hdmi-qp: Enable cec when resume
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I670ac19b14725e575c8a194a9cbf1fd96560d764
2022-03-12 16:18:49 +08:00
Andy Yan
6a13a81062 drm/rockchip: vop2: Support skip reference fb
It support skip reference fb at vop driver by
adding add skip-ref-fb at vop dt node.

Change-Id: I7a0a91d905ba4907f8f0720e1997e9ee9c5c65c7
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2022-03-11 14:28:38 +08:00
Zhang Yubing
f283539a10 drm/rockchip: vop2: support use video port default parent
When video port output image under 4K@60Hz(dclk less than 600MHz),
The dclk parent use hdmi0 phy pll or hdmi1 phy pll. In some cases
the hdmi0 phy pll or hdmi1 phy pll is not enough for all output
interface. For example, hdmi0 and hdmi0 connect to video port0 and
dp connect to video port1. In this case, It need the video port1
need use default dclk parent.

Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: Icdf050bb1e7a9f36022f5dd196358136c1d9242c
2022-03-11 11:34:59 +08:00
Algea Cao
817db0024a drm/rockchip: dw_hdmi: Enable split mode only when two HDMI are enabled
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ib62c7f3b9ccfb03f61311fb704d9d897afaa50f2
2022-03-11 11:34:12 +08:00
Finley Xiao
0f3739e0b7 MALI: bifrost: Kconfig: Don't select PM_DEVFREQ and DEVFREQ_THERMAL
If use savedefconfig to update defconfig, PM_DEVFREQ and DEVFREQ_THERMAL
will be removed, and dmc and opp_select also depend on PM_DEVFREQ,
enable them default.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Ied5ac8e70fe195294df2752160ce6e56360f2db8
2022-03-11 11:00:00 +08:00
Andy Yan
aacefe9c74 drm/rockchip: vop2: A workaround for PD_CLUSTER0 off
The internal PD of VOP2 on rk3588 take effect immediately
for power up and take effect by vsync for power down.

And the PD_CLUSTER0 is a parent PD of PD_CLUSTER1/2/3,
we may have this use case:
Cluster0 is attached to VP0 for HDMI output,
Cluster1 is attached to VP1 for MIPI DSI,

When we enable Cluster1 on VP1, we should enable PD_CLUSTER0 as
it is the parent PD, event though HDMI is plugout, VP1 is disabled,
the PD of Cluster0 should keep power on.

When system go to suspend:
(1) Power down PD of Cluster1 before VP1 standby(the power down is take
    effect by vsync)
(2) Power down PD of Cluster0

But we have problem at step (2), Cluster0 is attached to VP0. bus VP0
is in standby mode, as it is never used or hdmi plugout. So there is
no vsync, the power down will never take effect.

According to IC designer: We must power down all internal PD of VOP
before we power down the global PD_VOP.

So we get this workaround:
We we found a VP is in standby mode when we want power down a PD is
attached to it, we release the VP from standby mode, than it will
run a default timing and generate vsync. Than we can power down the
PD by this vsync. After all this is done, we standby the VP at last.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: Ib9be8628f07d783c6bc3b7678c5eebfc63aabe1c
2022-03-10 20:20:16 +08:00
Andy Yan
c9c9555075 drm/rockchip: vop2: Fix PD_ESMART usage on rk3588
PD_ESMART is shared between Esmart1/2/3, Esmart0 has
no PD

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: I5d11ec065f6226e130c93469b1757e4c4fe82067
2022-03-10 20:17:11 +08:00
Andy Yan
e5cb1f01cd drm/rockchip: vop2: Disable aclk of video port when it unused
To reduce some power consumption.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Change-Id: Iebe8d071380ed998579942aeab7662a6ffda3cb0
2022-03-10 20:04:48 +08:00
Guochun Huang
073fa994fa drm/rockchip: dsi2: add user-split-mode property
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: I507034edb7a91b776cb66aa7e3aedcc22521467c
2022-03-10 20:00:48 +08:00
Algea Cao
1035e72482 drm/rockchip: vop2: Keep dclk:v_pixclk = 1:2 for HDMI split mode
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ib55cee1b45ea8f92ad72fb34844d10b6a25214b8
2022-03-09 16:45:03 +08:00
Algea Cao
5efa70a0f1 drm/rockchip: dw_hdmi: Support hdmi split mode
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I71c5785ecfb9480f9569d3c55dd634579a5176fb
2022-03-09 16:45:03 +08:00
Sandy Huang
6cbe6c4e1d drm/rockchip: logo: add mutex lock protect for drm mm node
[02-10 13:20:47][ 6.774909][ T399] ------------[ cut here ]------------
[02-10 13:20:47][ 6.775778][ T399] kernel BUG at lib/list_debug.c:56!
[02-10 13:20:47][ 6.776233][ T399] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[02-10 13:20:47][ 6.776776][ T399] Modules linked in: bcmdhd r8168
[02-10 13:20:47][ 6.777203][ T399] CPU: 4 PID: 399 Comm: HwBinder:379_2 Not tainted 5.10.66 #1083
[02-10 13:20:47][ 6.777865][ T399] Hardware name: Rockchip RK3588 EVB1 LP4 V10 Board (DT)
[02-10 13:20:47][ 6.778463][ T399] pstate: 60400009 (nZCv daif +PAN UAO -TCO BTYPE=-)
[02-10 13:20:47][ 6.779051][ T399] pc : __list_del_entry_valid+0xa8/0xac
[02-10 13:20:47][ 6.779528][ T399] lr : __list_del_entry_valid+0xa8/0xac
...
[02-10 13:20:47][ 6.788175][ T399] Call trace:
[02-10 13:20:47][ 6.788448][ T399] __list_del_entry_valid+0xa8/0xac
[02-10 13:20:47][ 6.788894][ T399] rm_hole+0x24/0x2bc
[02-10 13:20:47][ 6.789231][ T399] drm_mm_insert_node_in_range+0x614/0x64c
[02-10 13:20:47][ 6.789731][ T399] rockchip_gem_iommu_map+0x5c/0x164
[02-10 13:20:47][ 6.790186][ T399] rockchip_gem_prime_import_sg_table+0x9c/0x1c8
[02-10 13:20:47][ 6.790729][ T399] rockchip_drm_gem_prime_import_dev+0xc4/0x17c
[02-10 13:20:47][ 6.791260][ T399] rockchip_drm_gem_prime_import+0x18/0x28
[02-10 13:20:47][ 6.791758][ T399] drm_gem_prime_fd_to_handle+0x9c/0x1f4
[02-10 13:20:47][ 6.792235][ T399] drm_prime_fd_to_handle_ioctl+0x30/0x48
[02-10 13:20:47][ 6.792723][ T399] drm_ioctl+0x24c/0x3b8
[02-10 13:20:47][ 6.793084][ T399] __arm64_sys_ioctl+0x94/0xd0
[02-10 13:20:47][ 6.793487][ T399] el0_svc_common+0xb8/0x1a4
[02-10 13:20:47][ 6.793878][ T399] do_el0_svc+0x28/0x88
[02-10 13:20:47][ 6.794228][ T399] el0_svc+0x14/0x24
[02-10 13:20:47][ 6.794554][ T399] el0_sync_handler+0x88/0xec
[02-10 13:20:47][ 6.794955][ T399] el0_sync+0x1a8/0x1c0

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ifd0ec4628d3afb4a2337998737c6e0ba7b6c52ca
2022-03-09 14:25:43 +08:00
Algea Cao
fb88ec443d drm/bridge: dw-hdmi-qp-cec: Write cec reg after cec data path enabled
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I45f00a9ad2875283e707fd36755659a75c76e744
2022-03-08 16:13:18 +08:00
Sandy Huang
27cc6a0147 drm/rockchip: drv: add direct show test case
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ie06ec68dce8f7f5f406c57e0a6a97df36b8fad53
2022-03-07 19:11:25 +08:00
Sandy Huang
00d110d345 drm/rockchip: drv: add support rockchip drm direct show
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ibb7628ba06e41a96c7f63ed24dc5ff911b466b43
2022-03-07 16:15:28 +08:00
Sandy Huang
f0ff9378bb drm/rockchip: drv: rockchip_fb_alloc maybe used by direct show
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ic888e72e300a55c041152ad94752b35d3648eb2c
2022-03-07 16:15:27 +08:00
Lei Chen
23fa752f6a drm/rockchip: dsi2: support dynamic binding to different vp port
To solve the problem that the flag bits of other interfaces are
overwritten after mipi is enabled in the co-display case

Signed-off-by: Lei Chen <lei.chen@rock-chips.com>
Change-Id: I9eeea20165cb43da38879456eb10f6253e60bccb
2022-03-07 10:28:36 +08:00
Sandy Huang
3ed5fc75ab drm/rockchip: vop: fix afbc in_formats blob decoded error for rk3399
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Iedfe810c2ae4e794cca72dda64576337cfea4ff2
2022-03-07 10:16:07 +08:00
Algea Cao
93010da346 drm/bridge: dw-hdmi-qp: Add cec driver
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I4dbd69cdebaee8d1ff5231c72d4e1a9c30f9fd36
2022-03-04 19:43:59 +08:00
Guochun Huang
7b63068bf0 drm/rockchip: dsi2: accurately set mipi channel rate to Kbps/Ksps level
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: I50e206a8e60c1fa8e1668d2d9fb71e0b161599c9
2022-03-04 18:29:35 +08:00
Zhang Yubing
a1da8104ca drm/rockchip: vop2: change pixelclk calculation method for mipi
Both DP and MIPI get pixelclk from dclk_out as follow:
DP: dclkx_out(DIV)->dpn_pixelclk(MUX)
MIPI:dclkx_out(DIV)->mipi_clk_src(MUX)->mipi_pixelclk(DIV)

When a video port coonect DP, it will calculate dclk rate first,
then dclk out rate, finally dp pixelclk rate. When a video Port
connect to MIPI it will calculate mipi_pixelclk rate first.

The different calculation method may get different dclk rate or
divider ratio. When a video port connect to a DP and MIPI, DP
or MIPI may get the wrong pixel rate. So they need use the same
method to calculate pixelclk.

When A video port connect DP and MIPI, the mipi_pixelclk
is set first, and set the mipi_pixelclk divide value. Then
dp_pixelclk is set, which will modify dclk_out divide value
and cause the mipi_pixelclk change.

So when calculate the mipi_pixelclk, we calculate the dclk_out
first to avoid the mipi_pixelclk be modified when DP set
dp_pixelclk.

For uboot logo display, Depend on commit from u-boot(branch:
next-dev):
(I6037e12d8b6 drm/rockchip: vop2: change dclk calculate method
for mipi)

Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I53c3247ce1eb728dad7f480d86b65d3f922ab6d4
2022-03-04 18:04:08 +08:00
Sandy Huang
20cf1fde7c drm/rockchip: vop2: fix cluster alpha error at splice mode
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I29564be93e58b73227a9390a93f4d30ff1084456
2022-03-03 20:11:10 +08:00
Zhen Chen
7c3725c8f1 MALI: bifrost: remove a verbose log
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: I06184a601d5817d87433cbcde19b39bccc12f774
2022-03-03 18:19:25 +08:00
Finley Xiao
eb26be047e MALI: bifrost: Set intermediate rate before change read margin
Improve stability when change read margin.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I0ddb1d00c670cbc8e4c64f999382f1420a86c537
2022-03-03 18:01:38 +08:00
Finley Xiao
f5f2d23805 soc: rockchip: opp_select: Implement rockchip_get_read_margin()
In order to get target read margin and scmi clk earlier,
and it will also be used in later submissions.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I75bd79dc4963fa0dcc73d7c66a696e1cc0c177b7
2022-03-03 18:01:38 +08:00
Damon Ding
a2c4bf9e96 drm/rockchip: vop2: add func rockchip_drm_crtc_standby()
In order to modify the logic, check whether the standby
function is supported by (*crtc_standby). And add the
universal function rockchip_drm_crtc_standby().

Replace vop2_standby() by rockchip_drm_crtc_standby() in
dsi2 driver.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I974780c441fe0e9a8a81f933b3070a727321b589
2022-03-03 16:23:43 +08:00
Damon Ding
7116c11f51 drm/rockchip: add config options of VOP and VOP2 driver
rv1126 does not support VOP2, so add config options to
reduce memory usage.

./ksize.sh  drivers/gpu/drm/

before ksize: 487941 Bytes
after  kszie: 380303 Bytes
save   about: 107628 Bytes

In addition, improve the format of space and tab, and remove
extra "depends on DRM_ROCKCHIP".

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I2b29a543a7e52e4e4b72112980e2c6dc6c6cce92
2022-03-03 15:46:30 +08:00
Damon Ding
289fddc780 drm/rockchip: rgb: modify the function of rv1106_rgb_enable()
Add the reg shift of vop_pipe_bypass. Lcd lower pins(0~7)
and hsync/vsync/den belong to VCCIO6 which controlled
by venc_grf. And lcd higher pins(8~17) belong to VCCIO5
which depend on vo_grf.

Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: If7eab4570cbba12f5ff38eafe826112a44ea90c9
2022-03-03 10:38:12 +08:00
Guochun Huang
69cb143678 drm/rockchip: dsi2: make horizontal scanning setup time more accurate
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: Ib92d92d52d60e56ed4db6a5520b8800d739a6bd8
2022-03-03 08:19:19 +08:00
Zhang Yubing
b05aaecf58 drm/rockchip: vop2: support only 1 hdmi phy pll
In some condition, only 1 hdmi phy is enabled. The strategy
need judge which hdmi phy pll can be used.

Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: Ia36d3f3cf010a0322e4d51a85f980012b5ee2231
2022-03-02 16:11:27 +08:00