From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damien Lespiau Subject: Re: [PATCH] drm/i915: Show cursor size in debugfs/i915_display_info Date: Fri, 4 Jul 2014 10:11:17 +0100 Message-ID: <20140704091117.GC7634@strange.ger.corp.intel.com> References: <1404458412-24226-1-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 944B56E7D0 for ; Fri, 4 Jul 2014 02:11:19 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1404458412-24226-1-git-send-email-chris@chris-wilson.co.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Chris Wilson Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Jul 04, 2014 at 08:20:11AM +0100, Chris Wilson wrote: > Inlcude the pipe-size and cursor-size in debugfs. > > Signed-off-by: Chris Wilson Reviewed-by: Damien Lespiau -- Damien > --- > drivers/gpu/drm/i915/i915_debugfs.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c > index 0869df682f63..6d3f925ae9a2 100644 > --- a/drivers/gpu/drm/i915/i915_debugfs.c > +++ b/drivers/gpu/drm/i915/i915_debugfs.c > @@ -2434,17 +2434,17 @@ static int i915_display_info(struct seq_file *m, void *unused) > bool active; > int x, y; > > - seq_printf(m, "CRTC %d: pipe: %c, active: %s\n", > + seq_printf(m, "CRTC %d: pipe: %c, active=%s (size=%dx%d)\n", > crtc->base.base.id, pipe_name(crtc->pipe), > - yesno(crtc->active)); > + yesno(crtc->active), crtc->config.pipe_src_w, crtc->config.pipe_src_h); > if (crtc->active) { > intel_crtc_info(m, crtc); > > active = cursor_position(dev, crtc->pipe, &x, &y); > - seq_printf(m, "\tcursor visible? %s, position (%d, %d), addr 0x%08x, active? %s\n", > + seq_printf(m, "\tcursor visible? %s, position (%d, %d), size %dx%d, addr 0x%08x, active? %s\n", > yesno(crtc->cursor_base), > - x, y, crtc->cursor_addr, > - yesno(active)); > + x, y, crtc->cursor_width, crtc->cursor_height, > + crtc->cursor_addr, yesno(active)); > } > > seq_printf(m, "\tunderrun reporting: cpu=%s pch=%s \n", > -- > 2.0.1 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx