From: Ramalingam C <ramalingam.c@intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 4/5] drm/i915/hdmi: stylistic cleanup around hdcp2_msg_data
Date: Tue, 20 Aug 2019 19:40:48 +0530 [thread overview]
Message-ID: <20190820141048.GG7668@intel.com> (raw)
In-Reply-To: <20190820134019.13229-4-jani.nikula@intel.com>
On 2019-08-20 at 16:40:18 +0300, Jani Nikula wrote:
> Split struct declaration and array definition. Fix indents and
> whitespace. No functional changes.
>
> Cc: Ramalingam C <ramalingam.c@intel.com>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
-Ram
> ---
> drivers/gpu/drm/i915/display/intel_hdmi.c | 39 +++++++++++------------
> 1 file changed, 19 insertions(+), 20 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/intel_hdmi.c
> index b1ca8e5bdb56..d30c8314eaaf 100644
> --- a/drivers/gpu/drm/i915/display/intel_hdmi.c
> +++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
> @@ -1514,29 +1514,28 @@ bool intel_hdmi_hdcp_check_link(struct intel_digital_port *intel_dig_port)
> return true;
> }
>
> -static struct hdcp2_hdmi_msg_data {
> +struct hdcp2_hdmi_msg_data {
> u8 msg_id;
> u32 timeout;
> u32 timeout2;
> - } hdcp2_msg_data[] = {
> - {HDCP_2_2_AKE_INIT, 0, 0},
> - {HDCP_2_2_AKE_SEND_CERT, HDCP_2_2_CERT_TIMEOUT_MS, 0},
> - {HDCP_2_2_AKE_NO_STORED_KM, 0, 0},
> - {HDCP_2_2_AKE_STORED_KM, 0, 0},
> - {HDCP_2_2_AKE_SEND_HPRIME, HDCP_2_2_HPRIME_PAIRED_TIMEOUT_MS,
> - HDCP_2_2_HPRIME_NO_PAIRED_TIMEOUT_MS},
> - {HDCP_2_2_AKE_SEND_PAIRING_INFO, HDCP_2_2_PAIRING_TIMEOUT_MS,
> - 0},
> - {HDCP_2_2_LC_INIT, 0, 0},
> - {HDCP_2_2_LC_SEND_LPRIME, HDCP_2_2_HDMI_LPRIME_TIMEOUT_MS, 0},
> - {HDCP_2_2_SKE_SEND_EKS, 0, 0},
> - {HDCP_2_2_REP_SEND_RECVID_LIST,
> - HDCP_2_2_RECVID_LIST_TIMEOUT_MS, 0},
> - {HDCP_2_2_REP_SEND_ACK, 0, 0},
> - {HDCP_2_2_REP_STREAM_MANAGE, 0, 0},
> - {HDCP_2_2_REP_STREAM_READY, HDCP_2_2_STREAM_READY_TIMEOUT_MS,
> - 0},
> - };
> +};
> +
> +static struct hdcp2_hdmi_msg_data hdcp2_msg_data[] = {
> + { HDCP_2_2_AKE_INIT, 0, 0 },
> + { HDCP_2_2_AKE_SEND_CERT, HDCP_2_2_CERT_TIMEOUT_MS, 0 },
> + { HDCP_2_2_AKE_NO_STORED_KM, 0, 0 },
> + { HDCP_2_2_AKE_STORED_KM, 0, 0 },
> + { HDCP_2_2_AKE_SEND_HPRIME, HDCP_2_2_HPRIME_PAIRED_TIMEOUT_MS,
> + HDCP_2_2_HPRIME_NO_PAIRED_TIMEOUT_MS },
> + { HDCP_2_2_AKE_SEND_PAIRING_INFO, HDCP_2_2_PAIRING_TIMEOUT_MS, 0 },
> + { HDCP_2_2_LC_INIT, 0, 0 },
> + { HDCP_2_2_LC_SEND_LPRIME, HDCP_2_2_HDMI_LPRIME_TIMEOUT_MS, 0 },
> + { HDCP_2_2_SKE_SEND_EKS, 0, 0 },
> + { HDCP_2_2_REP_SEND_RECVID_LIST, HDCP_2_2_RECVID_LIST_TIMEOUT_MS, 0 },
> + { HDCP_2_2_REP_SEND_ACK, 0, 0 },
> + { HDCP_2_2_REP_STREAM_MANAGE, 0, 0 },
> + { HDCP_2_2_REP_STREAM_READY, HDCP_2_2_STREAM_READY_TIMEOUT_MS, 0 },
> +};
>
> static
> int intel_hdmi_hdcp2_read_rx_status(struct intel_digital_port *intel_dig_port,
> --
> 2.20.1
>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-08-20 14:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-20 13:40 [PATCH 1/5] drm/i915/dp: stylistic cleanup around hdcp2_msg_data Jani Nikula
2019-08-20 13:40 ` [PATCH 2/5] drm/i915/dp: avoid shadowing variables Jani Nikula
2019-08-20 14:08 ` Ramalingam C
2019-08-20 13:40 ` [PATCH 3/5] drm/i915/dp: make hdcp2_dp_msg_data const Jani Nikula
2019-08-20 14:10 ` Ramalingam C
2019-08-20 13:40 ` [PATCH 4/5] drm/i915/hdmi: stylistic cleanup around hdcp2_msg_data Jani Nikula
2019-08-20 14:10 ` Ramalingam C [this message]
2019-08-20 13:40 ` [PATCH 5/5] drm/i915/hdmi: make hdcp2_msg_data const Jani Nikula
2019-08-20 14:12 ` Ramalingam C
2019-08-20 13:48 ` [PATCH 1/5] drm/i915/dp: stylistic cleanup around hdcp2_msg_data Ville Syrjälä
2019-08-20 14:24 ` Jani Nikula
2019-08-20 14:07 ` Ramalingam C
2019-08-21 10:30 ` Jani Nikula
2019-08-20 18:30 ` ✓ Fi.CI.BAT: success for series starting with [1/5] " Patchwork
2019-08-21 9:17 ` ✓ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190820141048.GG7668@intel.com \
--to=ramalingam.c@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox