summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2015-09-15 14:19:32 -0700
committerJani Nikula <jani.nikula@intel.com>2015-09-17 10:53:41 +0300
commiteb120ef6a3e18780e7464e7de70221d06dfe5845 (patch)
tree5b72fe3b80092394379adfe44efc4323fa8207e5 /drivers/gpu/drm/i915/intel_drv.h
parentd9072a3e80bd0f2e95d6a452987899039ba808ed (diff)
drm/i915: add more debug info for when atomic updates fail v3
I used these additional fields to track down the issue I saw on HSW. v2: move debug fields into a substruct (Ville) v3: clean up debug code more (Ville) References: https://bugs.freedesktop.org/show_bug.cgi?id=91579 Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index e9e5cfd2d9b8..8760814e81f6 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -565,8 +565,12 @@ struct intel_crtc {
int scanline_offset;
- unsigned start_vbl_count;
- ktime_t start_vbl_time;
+ struct {
+ unsigned start_vbl_count;
+ ktime_t start_vbl_time;
+ int min_vbl, max_vbl;
+ int scanline_start;
+ } debug;
struct intel_crtc_atomic_commit atomic;