This patch parses HFVSDB fields for DSC1.2 capabilities of an
HDMI2.1 sink. These fields are required by a source to understand the
DSC capability of the sink, to set appropriate PPS parameters,
before transmitting compressed data stream.
v2: Addressed following issues as suggested by Uma Shankar:
-Added a new struct for hdmi dsc cap
-Fixed bugs in macros usage.
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
[Jani: Fixed checkpatch PARENTHESIS_ALIGNMENT.]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201218103723.30844-4-ankit.k.nautiyal@intel.com
(cherry picked from commit 76ee7b9056)
Change-Id: I02d96954736a9dae33cc31e06f411f2ffffddc35
The HDMI2.1 extends HFVSDB (HDMI Forum Vendor Specific
Data block) to have fields related to newly defined methods of FRL
(Fixed Rate Link) levels, number of lanes supported, DSC Color bit
depth, VRR min/max, FVA (Fast Vactive), ALLM etc.
This patch adds the new HFVSDB fields that are required for
HDMI2.1.
v2: Minor fixes + consistent naming for DPCD register masks
(Uma Shankar)
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
[Jani: Fixed checkpatch FROM_SIGN_OFF_MISMATCH.]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201218103723.30844-2-ankit.k.nautiyal@intel.com
(cherry picked from commit 9bb85a6e29)
Change-Id: Ibbdea12806897cab0f95d13847b7e3d8bea1931d
VOP support one VP output to multi connectors with
the same scan out timing.
Change-Id: I4f31140135b0ebca89caa6a94be2f1a558e34a31
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
There are many display scene with odd dst_w, so
DRM_WARN will bring too much warning log, which
may frighten somebody.
Use dev_dbg hide it.
Change-Id: I2b132eb49a90792468fbea4e133c9e63aa50bf04
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
UAC gadget disable eps only when receiving set_alt_0. If USB is
unplugged before the packet of set_alt_0, the corresponding eps
will not be released and leading to UAC dysfunction when the next
time the usb is plugged.
Signed-off-by: Ren Jianing <jianing.ren@rock-chips.com>
Change-Id: I476ef8ce64a5b04cc3fec32a28126e2eb9d5ad78
When the dec hw is stuck, the software timeout is triggered.
the waiting thread should be awakened and return timeout at this time.
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Ifc1a6fbac4b4b328c7a2f5c8d8a6322fff222088
Full disk encryption can result in a deadlock by nested
calls to the crypto driver.To fix this bug, it should
decrease the granularity of mutex, lock in rk_load_data
and unlock in rk_unload_data.
Change-Id: Ic61aadfe3e6f548e1c2e27be9862941af2b53fd9
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
rk_iv_copyback is referring NULL point in ECB mode calculation
which will cause kernel crashed.
Change-Id: I98edd3529811b08b3de4fc46437a7d0d32e36f6f
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
This reverts commit 01a9a1b00a.
Instead, clk framework will handle this with the patchs:
[1] 27e692bdf18a (clk: rockchip: rk3568: Allow config i2s mclk as out/in)
[2] 5505f2112d69 (arm64: dts: rockchip: rk356x: Change to use I2Sx_MCLKOUT)
Change-Id: I0278a633bc3806c93d9ad2e6361ac9129798ec8d
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
This patch changes to use I2Sx_MCLKOUT, and Fix its parent
assignment.
Change-Id: I584da197cebdb3846eefc463e336cd6998db2325
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Open CONFIG_ROCKCHIP_THUNDER_BOOT_CRYPTO to enable it.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: If87598ae61c4490bd2dd23cf33ab30827bdc2d27
Open CONFIG_ROCKCHIP_THUNDER_BOOT_CRYPTO to enable it.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I0ff9889417377b9e4f72c12356bf3e86e927f137
Some times we only want use some of the module
of rockchip vop driver(et: rkmpp some times only
wat to use rockchip drm gem),
the real vop drivers is not needed to load.
Add a virtual vop driver let the rockchip drm launch.
Change-Id: Id6cd14a735eabaf8b4949330d56f77354e50c51c
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Add rk_tb_sha256 for thunderboot.
Change-Id: Iff9aba9c1d4c8188e618914bc16a3faefa1b3abd
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
This patch prints the reset/disconnect/suspend/wakeup event
for USB developer to check if the USB is reset/disconnted/
suspended/waked from USB PHY.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I889867edc6fd4b4d2fb2927c80d55a850556a8ad
This patch add new uvc trace for setup request processing.
1. enable trace
echo 4 > /sys/module/usb_f_uvc/parameters/trace
2. dump trace
dmesg
Test on RV1109 EVB with UVC function when streaming on:
[ 426.441316] uvcvideo: setup request a1 81 value 0100 index 0003 001a
[ 426.450280] uvcvideo: uvc_send_response: req len 26
[ 426.450444] uvcvideo: event_setup_out 0, data len 26
[ 426.451545] uvcvideo: setup request 21 01 value 0100 index 0003 001a
[ 426.460862] uvcvideo: uvc_send_response: req len 26
[ 426.461014] uvcvideo: event_setup_out 1, data len 26
[ 426.461173] uvcvideo: setup request a1 81 value 0100 index 0003 001a
[ 426.485791] uvcvideo: uvc_send_response: req len 26
[ 426.486672] uvcvideo: event_setup_out 0, data len 26
[ 426.487145] uvcvideo: setup request a1 83 value 0100 index 0003 001a
[ 426.496529] uvcvideo: uvc_send_response: req len 26
[ 426.496655] uvcvideo: event_setup_out 0, data len 26
[ 426.497485] uvcvideo: setup request a1 82 value 0100 index 0003 001a
[ 426.506737] uvcvideo: uvc_send_response: req len 26
[ 426.507195] uvcvideo: event_setup_out 0, data len 26
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: If882728e891d033c249e6c466b40d3e2a28bccb6