[Bug 72211] [HSW eDP] Response time larger than expected
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Feb 28 02:32:57 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=72211
--- Comment #21 from Chris Wilson <chris at chris-wilson.co.uk> ---
Out of interest, what happens with this gratuitous hack?
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index c3a955b5f14b..a8296de01eca 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -10024,6 +10024,16 @@ is_crtc_connector_off(struct drm_mode_set *set)
return false;
}
+static bool
+intel_mode_equal(const struct drm_display_mode *a,
+ const struct drm_display_mode *b)
+{
+ if (i915.fastboot)
+ return a->htotal == b->htotal && a->vtotal == b->vtotal;
+ else
+ return drm_mode_equal(a, b);
+}
+
static void
intel_set_config_compute_mode_changes(struct drm_mode_set *set,
struct intel_set_config *config)
@@ -10059,7 +10069,7 @@ intel_set_config_compute_mode_changes(struct
drm_mode_set *set,
if (set->fb && (set->x != set->crtc->x || set->y != set->crtc->y))
config->fb_changed = true;
- if (set->mode && !drm_mode_equal(set->mode, &set->crtc->mode)) {
+ if (set->mode && !intel_mode_equal(set->mode, &set->crtc->mode)) {
DRM_DEBUG_KMS("modes are different, full mode set\n");
drm_mode_debug_printmodeline(&set->crtc->mode);
drm_mode_debug_printmodeline(set->mode);
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140228/e4e72c05/attachment.html>
More information about the intel-gfx-bugs
mailing list