Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334706
b: refs/heads/master
c: e751823
h: refs/heads/master
v: v3
  • Loading branch information
Egbert Eich authored and Daniel Vetter committed Oct 16, 2012
1 parent e217dd8 commit 8b27aaa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e3b86d6941c7e5f90be05d986fce1fcb40c68d6b
refs/heads/master: e751823da27d37d25e5543abef2dc031f8813bc8
8 changes: 8 additions & 0 deletions trunk/drivers/gpu/drm/i915/intel_sdvo.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ struct intel_sdvo {

/* DDC bus used by this SDVO encoder */
uint8_t ddc_bus;

/*
* the sdvo flag gets lost in round trip: dtd->adjusted_mode->dtd
*/
uint8_t dtd_sdvo_flags;
};

struct intel_sdvo_connector {
Expand Down Expand Up @@ -985,6 +990,7 @@ intel_sdvo_get_preferred_input_mode(struct intel_sdvo *intel_sdvo,
return false;

intel_sdvo_get_mode_from_dtd(adjusted_mode, &input_dtd);
intel_sdvo->dtd_sdvo_flags = input_dtd.part2.sdvo_flags;

return true;
}
Expand Down Expand Up @@ -1093,6 +1099,8 @@ static void intel_sdvo_mode_set(struct drm_encoder *encoder,
* adjusted_mode.
*/
intel_sdvo_get_dtd_from_mode(&input_dtd, adjusted_mode);
if (intel_sdvo->is_tv || intel_sdvo->is_lvds)
input_dtd.part2.sdvo_flags = intel_sdvo->dtd_sdvo_flags;
if (!intel_sdvo_set_input_timing(intel_sdvo, &input_dtd))
DRM_INFO("Setting input timings on %s failed\n",
SDVO_NAME(intel_sdvo));
Expand Down

0 comments on commit 8b27aaa

Please sign in to comment.