Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371626
b: refs/heads/master
c: ae4edb8
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Vetter committed Apr 23, 2013
1 parent a7fa78f commit ebdec83
Show file tree
Hide file tree
Showing 4 changed files with 25 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: e4bfff54ed3f5de88f5358504c78c2cb037813aa
refs/heads/master: ae4edb8089df67d25fbd9386012a335a64aca287
8 changes: 8 additions & 0 deletions trunk/drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2428,6 +2428,9 @@ intel_dp_set_property(struct drm_connector *connector,
}

if (property == dev_priv->broadcast_rgb_property) {
bool old_auto = intel_dp->color_range_auto;
uint32_t old_range = intel_dp->color_range;

switch (val) {
case INTEL_BROADCAST_RGB_AUTO:
intel_dp->color_range_auto = true;
Expand All @@ -2443,6 +2446,11 @@ intel_dp_set_property(struct drm_connector *connector,
default:
return -EINVAL;
}

if (old_auto == intel_dp->color_range_auto &&
old_range == intel_dp->color_range)
return 0;

goto done;
}

Expand Down
8 changes: 8 additions & 0 deletions trunk/drivers/gpu/drm/i915/intel_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,9 @@ intel_hdmi_set_property(struct drm_connector *connector,
}

if (property == dev_priv->broadcast_rgb_property) {
bool old_auto = intel_hdmi->color_range_auto;
uint32_t old_range = intel_hdmi->color_range;

switch (val) {
case INTEL_BROADCAST_RGB_AUTO:
intel_hdmi->color_range_auto = true;
Expand All @@ -935,6 +938,11 @@ intel_hdmi_set_property(struct drm_connector *connector,
default:
return -EINVAL;
}

if (old_auto == intel_hdmi->color_range_auto &&
old_range == intel_hdmi->color_range)
return 0;

goto done;
}

Expand Down
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 @@ -1930,6 +1930,9 @@ intel_sdvo_set_property(struct drm_connector *connector,
}

if (property == dev_priv->broadcast_rgb_property) {
bool old_auto = intel_sdvo->color_range_auto;
uint32_t old_range = intel_sdvo->color_range;

switch (val) {
case INTEL_BROADCAST_RGB_AUTO:
intel_sdvo->color_range_auto = true;
Expand All @@ -1947,6 +1950,11 @@ intel_sdvo_set_property(struct drm_connector *connector,
default:
return -EINVAL;
}

if (old_auto == intel_sdvo->color_range_auto &&
old_range == intel_sdvo->color_range)
return 0;

goto done;
}

Expand Down

0 comments on commit ebdec83

Please sign in to comment.