NV20 and NV30 is supported by drm core, so no need to depend on
CONFIG_NO_GKI.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I74dbd8e69367dd1d705624e07e6a6ea2bb9a21f8
DRM_FORMAT_NV20 and DRM_FORMAT_NV30 formats is the 2x1 and non-subsampled
variant of NV15, a 10-bit 2-plane YUV format that has no padding between
components. Instead, luminance and chrominance samples are grouped into 4s
so that each group is packed into an integer number of bytes:
YYYY = UVUV = 4 * 10 bits = 40 bits = 5 bytes
The '20' and '30' suffix refers to the optimum effective bits per pixel
which is achieved when the total number of luminance samples is a multiple
of 4.
V2: Added NV30 format
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Sandy Huang <hjc@rock-chips.com>
Reviewed-by: Christopher Obbard <chris.obbard@collabora.com>
Tested-by: Christopher Obbard <chris.obbard@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231023173718.188102-2-jonas@kwiboo.se
Bug: 300024866
(cherry picked from commit 728c15b4b5f3369cbde73d5e0f14701ab370f985)
Change-Id: Ia8fbb5b785c6fc2b4d188bbcef62e232c2ba8ce8
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This patch adds USB_QUIRK_RESET for Alcor Micro
Flash Drive (idVendor=058f, idProduct=6387) to
fix read/write issue after system resume from
deep sleep.
Change-Id: I35e0d511a80255a18eb842412ff9905c039df9bf
Signed-off-by: William Wu <william.wu@rock-chips.com>
1.fix lsc error of first frame
2.fix scl update hold when isp working
3.fix resolution config for unite mode
4.resume to restore dhaz iir data
Change-Id: I070b0dbef0eef404d040dedf4555cc7fe335de6f
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
net/rfkill/rfkill-wlan.c:697:22: error: redefinition of 'wlan_early_suspend' as different kind of symbol
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: Id439523b64fa9fc99b5208c0c2a811e157fd5a9c
Vdpu383 doesn't reset the register when it is enabled.
In order to avoid exceptions, it is necessary to
configure the initial value when it is enabled.
In addition, ip_en involves cru mode, which is related
to the IP work frequency. It is necessary to ensure
that it is configured correctly.
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: I7047faababe1747547d18cb51e1e3b527e2c8d35
Before:
default y if CPU_XXXX
After:
depends on CPU_XXX
default y
When a CPU_XXXX config is not selected, the config will be
automatically deselected.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I95bbc481b6747d82637167b0f2b057732eb7112e
Before:
default y if CPU_XXXX
After:
depends on CPU_XXX
default y
When a CPU_XXXX config is not selected, the config will be
automatically deselected.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Iff7361f6515e1fda72a4993a514ad948876e8850
Before:
default y if CPU_XXXX
After:
depends on CPU_XXX
default y
When a CPU_XXXX config is not selected, the config will be
automatically deselected.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I380b2158def41949086ceb49133e5f905c4e17e6
Before:
default y if CPU_XXXX
After:
depends on CPU_XXX
default y
When a CPU_XXXX config is not selected, the config will be
automatically deselected.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: If10a37e81221ddd69a32e528c2642d8b0065b309
Before:
default y if CPU_XXXX
After:
depends on CPU_XXX
default y
When a CPU_XXXX config is not selected, the config will be
automatically deselected.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I113d92a4ccaed1e93e79b8c69d8595f4354be496
Restore link if controller or device is powered down in runtime PM
or system PM.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: Iec19935386fa532e537932ac5897de438371016e
Increase vepu's default frequency to 702M to meet the encoding
performance requirements for single-core 4k30.
Change-Id: I306f9d16e36b692b61c3aeae3d1c297923fd5e48
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
1. Add reboot frequency for opp table.
2. Add intermediate threshold frequency for opp table.
3. Add suspend opp for cpu opp table.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I8863074713431f566336a70199f9b9e79ca1e7e3
Tips:
Set task_capacity > 1 in rk3576.dtsi, and then run link mode.
Change-Id: I1726226c3a67becd605ceca2eedcbb049dcea891
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
In vepu_510 the sli_done interrupt is triggered by slice_fifo not empty
status.Therefore when the sli_done_sta interrupt is cleared without
reading all the slice_len data in slice_fifo an extra interrupt will
be triggered. So it is better to clear the interrupt after reading all
slice_len to avoid false irq reporting. On the other hand, vepu_580 is
triggered only after writing a slice, without checking iif fifo is
non-empty, so there is no need to clear the interrupt again after reading the slice
Change-Id: If20a097b0e9fb41df9984c0ed316d717ba783ac4
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
If scaling is done vertically using bilinear interpolation, the input
resolution is forced to switch to average interpolation when it is
greater than 4096.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I66d2ecb76386d3f6378a241f7157af89f1e1542d