Commit 30c822af authored by Marcelo Mendes Spessoto Junior's avatar Marcelo Mendes Spessoto Junior Committed by Alex Deucher

drm/amd/display: Fix hdcp_psp.h codestyle

Fix identation inside enum and place expressions in define macros inside
() for hdcp_psp.h file
Signed-off-by: default avatarMarcelo Mendes Spessoto Junior <marcelomspessoto@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0c3c952d
...@@ -98,9 +98,9 @@ enum ta_dtm_encoder_type { ...@@ -98,9 +98,9 @@ enum ta_dtm_encoder_type {
* This enum defines software value for dio_output_type * This enum defines software value for dio_output_type
*/ */
typedef enum { typedef enum {
TA_DTM_DIO_OUTPUT_TYPE__INVALID, TA_DTM_DIO_OUTPUT_TYPE__INVALID,
TA_DTM_DIO_OUTPUT_TYPE__DIRECT, TA_DTM_DIO_OUTPUT_TYPE__DIRECT,
TA_DTM_DIO_OUTPUT_TYPE__DPIA TA_DTM_DIO_OUTPUT_TYPE__DPIA
} ta_dtm_dio_output_type; } ta_dtm_dio_output_type;
struct ta_dtm_topology_update_input_v3 { struct ta_dtm_topology_update_input_v3 {
...@@ -237,11 +237,11 @@ enum ta_hdcp2_hdcp2_msg_id_max_size { ...@@ -237,11 +237,11 @@ enum ta_hdcp2_hdcp2_msg_id_max_size {
#define TA_HDCP__HDCP1_KSV_LIST_MAX_ENTRIES 127 #define TA_HDCP__HDCP1_KSV_LIST_MAX_ENTRIES 127
#define TA_HDCP__HDCP1_V_PRIME_SIZE 20 #define TA_HDCP__HDCP1_V_PRIME_SIZE 20
#define TA_HDCP__HDCP2_TX_BUF_MAX_SIZE \ #define TA_HDCP__HDCP2_TX_BUF_MAX_SIZE \
TA_HDCP_HDCP2_MSG_ID_MAX_SIZE__AKE_NO_STORED_KM + TA_HDCP_HDCP2_MSG_ID_MAX_SIZE__AKE_STORED_KM + 6 (TA_HDCP_HDCP2_MSG_ID_MAX_SIZE__AKE_NO_STORED_KM + TA_HDCP_HDCP2_MSG_ID_MAX_SIZE__AKE_STORED_KM + 6)
// 64 bits boundaries // 64 bits boundaries
#define TA_HDCP__HDCP2_RX_BUF_MAX_SIZE \ #define TA_HDCP__HDCP2_RX_BUF_MAX_SIZE \
TA_HDCP_HDCP2_MSG_ID_MAX_SIZE__AKE_SEND_CERT + TA_HDCP_HDCP2_MSG_ID_MAX_SIZE__AKE_RECEIVER_INFO + 4 (TA_HDCP_HDCP2_MSG_ID_MAX_SIZE__AKE_SEND_CERT + TA_HDCP_HDCP2_MSG_ID_MAX_SIZE__AKE_RECEIVER_INFO + 4)
enum ta_hdcp_status { enum ta_hdcp_status {
TA_HDCP_STATUS__SUCCESS = 0x00, TA_HDCP_STATUS__SUCCESS = 0x00,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment