diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-22 23:46:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-22 23:46:42 -0400 |
commit | 3f2625d7055c31e64471270c2eb79d77f988845a (patch) | |
tree | 668346c02fc697b154c2f8cd410b02c67e3c2316 | |
parent | 23218843d92b77c99375609eb43e6e6b3d7f68c3 (diff) | |
parent | 84ade45e056f2e292f07c54446c176d0112d9574 (diff) |
Merge tag 'drm-fixes-for-v4.7-rc8-intel' of git://people.freedesktop.org/~airlied/linux
Pull drm fixes from Dave Airlie:
"Two i915 regression fixes.
Intel have submitted some Kabylake fixes I'll send separately, since
this is the first kernel with kabylake support and they don't go much
outside that area I think they should be fine"
* tag 'drm-fixes-for-v4.7-rc8-intel' of git://people.freedesktop.org/~airlied/linux:
drm/i915: add missing condition for committing planes on crtc
drm/i915: Treat eDP as always connected, again
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 6 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 04452cf3eae8..3074c56a643d 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -11997,6 +11997,12 @@ static int intel_crtc_atomic_check(struct drm_crtc *crtc, | |||
11997 | ret = intel_color_check(crtc, crtc_state); | 11997 | ret = intel_color_check(crtc, crtc_state); |
11998 | if (ret) | 11998 | if (ret) |
11999 | return ret; | 11999 | return ret; |
12000 | |||
12001 | /* | ||
12002 | * Changing color management on Intel hardware is | ||
12003 | * handled as part of planes update. | ||
12004 | */ | ||
12005 | crtc_state->planes_changed = true; | ||
12000 | } | 12006 | } |
12001 | 12007 | ||
12002 | ret = 0; | 12008 | ret = 0; |
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 40745e38d438..891107f92d9f 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c | |||
@@ -4645,7 +4645,7 @@ intel_dp_detect(struct drm_connector *connector, bool force) | |||
4645 | 4645 | ||
4646 | intel_dp->detect_done = false; | 4646 | intel_dp->detect_done = false; |
4647 | 4647 | ||
4648 | if (intel_connector->detect_edid) | 4648 | if (is_edp(intel_dp) || intel_connector->detect_edid) |
4649 | return connector_status_connected; | 4649 | return connector_status_connected; |
4650 | else | 4650 | else |
4651 | return connector_status_disconnected; | 4651 | return connector_status_disconnected; |