PD#173334: hdmirx: add hdcp22-not-support handle
if systemcontrol cant access the aic tool,inform driver
that hdcp2.2 is not support via ioctl
Change-Id: I2d9541a497842e027e898f5fa3a23c51583c8181
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
}
rx_pr("hdcp1.4 key mode-%d\n", hdcp14_key_mode);
break;
+ case HDMI_IOC_HDCP22_NOT_SUPPORT:
+ /* if sysctl can not find the aic tools,
+ * it will inform driver that 2.2 not support via ioctl
+ */
+ hdcp22_on = 0;
+ if (rx.open_fg)
+ rx_send_hpd_pulse();
+ else
+ hdmirx_wr_dwc(DWC_HDCP22_CONTROL, 2);
+ rx_pr("hdcp2.2 not support\n");
+ break;
default:
ret = -ENOIOCTLCMD;
break;
#include "hdmi_rx_edid.h"
-#define RX_VER0 "ver.2018-09-07"
+#define RX_VER0 "ver.2018-09-11"
/*
*
*
struct pd_infoframe_s)
#define HDMI_IOC_HDCP14_KEY_MODE _IOR(HDMI_IOC_MAGIC, 0x0d,\
enum hdcp14_key_mode_e)
+#define HDMI_IOC_HDCP22_NOT_SUPPORT _IO(HDMI_IOC_MAGIC, 0x0e)
#define IOC_SPD_INFO _BIT(0)
#define IOC_AUD_INFO _BIT(1)