Re: [PATCH] drm/i915: Add a debugfs file to dump complete context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 25, 2016 at 03:19:15PM +0100, Arun Siluvery wrote:
> From: Armin Reese <armin.c.reese@xxxxxxxxx>
> 
> A 'cat' of the debugfs file i915_dump_lrc, dumps only the first 0x600(1536)
> bytes of each ring's register state context. It does not provide
> information about the remaining portion of the register state context.
> This patch adds new file i915_dump_lrc_complete which displays full
> register state context. Being able to view the latter in its entirety will
> be very useful in debugging issues arising from incorrect context setup.

When I've been debugging context problems, I just dumped the image via
the CONTEXT_GETPARAM ioctl. Helped when looking at problems in situ and
I could then compare the images across the break point.

Dumping every page of every context object is not going to scale well,
my basic fear is that you will lose the information you need amongst the
noise. Especially as you will quickly run into the limits of seq_file...
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux