Skip to content

Commit

Permalink
drm: Handle the DBLCLK flag in the common infoframe helper
Browse files Browse the repository at this point in the history
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Damien Lespiau authored and Daniel Vetter committed Aug 8, 2013
1 parent c5022bb commit bf02db9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/drm_edid.c
Original file line number Diff line number Diff line change
Expand Up @@ -3102,6 +3102,9 @@ drm_hdmi_avi_infoframe_from_display_mode(struct hdmi_avi_infoframe *frame,
if (err < 0)
return err;

if (mode->flags & DRM_MODE_FLAG_DBLCLK)
frame->pixel_repeat = 1;

frame->video_code = drm_match_cea_mode(mode);
if (!frame->video_code)
return 0;
Expand Down
3 changes: 0 additions & 3 deletions drivers/gpu/drm/i915/intel_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,6 @@ static void intel_hdmi_set_avi_infoframe(struct drm_encoder *encoder,
return;
}

if (adjusted_mode->flags & DRM_MODE_FLAG_DBLCLK)
frame.avi.pixel_repeat = 1;

if (intel_hdmi->rgb_quant_range_selectable) {
if (intel_crtc->config.limited_color_range)
frame.avi.quantization_range =
Expand Down

0 comments on commit bf02db9

Please sign in to comment.