[Intel-gfx] [PATCH 1/2] drm/i915/hdmi: fetch infoframe status in get_config v3
Daniel Vetter
daniel at ffwll.ch
Wed Nov 12 10:44:18 CET 2014
On Tue, Nov 11, 2014 at 12:30:46PM -0800, Jesse Barnes wrote:
> This is useful for checking things later.
>
> v2:
> - fix hsw infoframe enabled check (Ander)
> v3:
> - set infoframe status in compute_config too (Ville)
>
> Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
Squashed into the original patch, thanks.
-Daniel
> ---
> drivers/gpu/drm/i915/intel_hdmi.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
> index 0c9fe4b..f58e883 100644
> --- a/drivers/gpu/drm/i915/intel_hdmi.c
> +++ b/drivers/gpu/drm/i915/intel_hdmi.c
> @@ -982,6 +982,9 @@ bool intel_hdmi_compute_config(struct intel_encoder *encoder,
>
> pipe_config->has_hdmi_sink = intel_hdmi->has_hdmi_sink;
>
> + if (pipe_config->has_hdmi_sink)
> + pipe_config->has_infoframe = true;
> +
> if (intel_hdmi->color_range_auto) {
> /* See CEA-861-E - 5.1 Default Encoding Parameters */
> if (pipe_config->has_hdmi_sink &&
> --
> 1.9.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list