Re: [PATCH 2/2] drm/i915: Print captured bo for all VM in error state

Chris Wilson
2014-01-10T20:08:30Z

On Fri, Jan 10, 2014 at 11:59:10AM -0800, Ben Widawsky wrote:
> I will gladly re-review if you make any of my suggested changes.

Hmm, I had already done the capture_vma one since that is required to
display the right addresses in the error state.

The output is like:

vm[0]
Active [0]:
Pinned [10]:
00200000 8192 10 00 0 0 P dirty L3+LLC
00202000 4096 01 01 0 0 P snooped or LLC
00203000 131072 40 40 0 0 P dirty snooped or LLC
00223000 4096 01 01 0 0 P snooped or LLC
00224000 4096 01 01 0 0 P snooped or LLC
00225000 131072 40 40 0 0 P dirty snooped or LLC
00245000 4096 01 01 0 0 P snooped or LLC
00246000 131072 40 40 0 0 P dirty snooped or LLC
00266000 8294400 41 00 0 0 P uncached
083f2000 8192 41 00 0 0 P L3+LLC
vm[1]
Active [0]:
Pinned [0]:
vm[2]
Active [1]:
00000000 4096 3f 00 fffff000 0 dirty bsd snooped or LLC
Pinned [0]:
vm[3]
Active [1]:
00000000 4096 3f 00 fffff00c 0 dirty bsd snooped or LLC
Pinned [0]:
vm[4]
Active [1]:
00000000 4096 3f 00 fffff010 0 dirty bsd snooped or LLC
Pinned [0]:
vm[5]
Active [1]:
00000000 4096 3f 00 fffff016 0 dirty bsd snooped or LLC
Pinned [0]:
vm[6]
Active [1]:
00000000 4096 3f 00 fffff019 0 dirty bsd snooped or LLC
Pinned [0]:
vm[7]
Active [1]:
00000000 4096 3f 00 fffff01e 0 dirty bsd snooped or LLC
Pinned [0]:
vm[8]
Active [1]:
00000000 4096 3f 00 fffff017 0 dirty bsd snooped or LLC
Pinned [0]:
vm[9]
Active [1]:
00000000 4096 3f 00 fffff015 0 dirty bsd snooped or LLC
Pinned [0]:
vm[10]
Active [1]:
00000000 4096 3f 00 fffff02b 0 dirty bsd snooped or LLC
Pinned [0]:
vm[11]
Active [1]:
00000000 4096 3f 00 fffff039 0 dirty bsd snooped or LLC
Pinned [0]:
vm[12]
Active [1]:
00000000 4096 3f 00 fffff03c 0 dirty bsd snooped or LLC
Pinned [0]:
vm[13]
Active [1]:
00000000 4096 3f 00 fffff043 0 dirty bsd snooped or LLC
Pinned [0]:
vm[14]
Active [1]:
00000000 4096 3f 00 fffff04d 0 dirty bsd snooped or LLC
Pinned [0]:
vm[15]
Active [1]:
00000000 4096 3f 00 fffff02f 0 dirty bsd snooped or LLC
Pinned [0]:
vm[16]
Active [1]:
00000000 4096 3f 00 fffff053 0 dirty bsd snooped or LLC
Pinned [0]:
vm[17]
Active [1]:
00000000 4096 3f 00 fffff05e 0 dirty bsd snooped or LLC
Pinned [0]:
vm[18]
Active [1]:
00000000 4096 3f 00 fffff059 0 dirty bsd snooped or LLC
Pinned [0]:
vm[19]
Active [1]:
00000000 4096 3f 00 fffff03e 0 dirty bsd snooped or LLC
Pinned [0]:
vm[20]
Active [1]:
00000000 4096 3f 00 fffff067 0 dirty bsd snooped or LLC
Pinned [0]:
vm[21]
Active [1]:
00000000 4096 3f 00 fffff06a 0 dirty bsd snooped or LLC
Pinned [0]:
vm[22]
Active [1]:
00000000 4096 3f 00 fffff068 0 dirty bsd snooped or LLC
Pinned [0]:
vm[23]
Active [1]:
00000000 4096 3f 00 fffff071 0 dirty bsd snooped or LLC
Pinned [0]:
vm[24]
Active [1]:
00000000 4096 3f 00 fffff074 0 dirty bsd snooped or LLC
Pinned [0]:
vm[25]
Active [1]:
00000000 4096 3f 00 fffff077 0 dirty bsd snooped or LLC
Pinned [0]:
vm[26]
Active [1]:
00000000 4096 3f 00 fffff07d 0 dirty bsd snooped or LLC
Pinned [0]:
vm[27]
Active [1]:
00000000 4096 3f 00 fffff07f 0 dirty bsd snooped or LLC
Pinned [0]:
vm[28]
Active [1]:
00000000 4096 3f 00 fffff082 0 dirty bsd snooped or LLC
Pinned [0]:
vm[29]
Active [1]:
00000000 4096 3f 00 fffff085 0 dirty bsd snooped or LLC
Pinned [0]:
vm[30]
Active [1]:
00000000 4096 3f 00 fffff088 0 dirty bsd snooped or LLC
Pinned [0]:
vm[31]
Active [1]:
00000000 4096 3f 00 fffff05c 0 dirty bsd snooped or LLC
Pinned [0]:
vm[32]
Active [1]:
00000000 4096 3f 00 fffff08e 0 dirty bsd snooped or LLC
Pinned [0]:
vm[33]
Active [1]:
00000000 4096 3f 00 fffff08c 0 dirty bsd snooped or LLC
Pinned [0]:
vm[34]
Active [1]:
00000000 4096 3f 00 fffff065 0 dirty bsd snooped or LLC
Pinned [0]:
vm[35]
Active [1]:
00000000 4096 3f 00 fffff041 0 dirty bsd snooped or LLC
Pinned [0]:
vm[36]
Active [1]:
00000000 4096 3f 00 fffff08f 0 dirty bsd snooped or LLC
Pinned [0]:
vm[37]
Active [1]:
00000000 4096 3f 00 fffff06e 0 dirty bsd snooped or LLC
Pinned [0]:
vm[38]
Active [1]:
00000000 4096 3f 00 fffff091 0 dirty bsd snooped or LLC
Pinned [0]:
vm[39]
Active [1]:
00000000 4096 3f 00 fffff092 0 dirty bsd snooped or LLC
Pinned [0]:
vm[40]
Active [1]:
00000000 4096 3f 00 fffff09b 0 dirty bsd snooped or LLC
Pinned [0]:
vm[41]
Active [1]:
00000000 4096 3f 00 fffff09f 0 dirty bsd snooped or LLC
Pinned [0]:
vm[42]
Active [1]:
00000000 4096 3f 00 fffff0a1 0 dirty bsd snooped or LLC
Pinned [0]:
vm[43]
Active [1]:
00000000 4096 3f 00 fffff0a4 0 dirty bsd snooped or LLC
Pinned [0]:
vm[44]
Active [1]:
00000000 4096 3f 00 fffff084 0 dirty bsd snooped or LLC
Pinned [0]:
vm[45]
Active [1]:
00000000 4096 3f 00 fffff0a7 0 dirty bsd snooped or LLC
Pinned [0]:
vm[46]
Active [1]:
00000000 4096 3f 00 fffff089 0 dirty bsd snooped or LLC
Pinned [0]:
vm[47]
Active [1]:
00000000 4096 3f 00 fffff094 0 dirty bsd snooped or LLC
Pinned [0]:
vm[48]
Active [1]:
00000000 4096 3f 00 fffff0b3 0 dirty bsd snooped or LLC
Pinned [0]:
vm[49]
Active [1]:
00000000 4096 3f 00 fffff0b2 0 dirty bsd snooped or LLC
Pinned [0]:
vm[50]
Active [1]:
00000000 4096 3f 00 fffff0ab 0 dirty bsd snooped or LLC
Pinned [0]:
vm[51]
Active [1]:
00000000 4096 3f 00 fffff098 0 dirty bsd snooped or LLC
Pinned [0]:
vm[52]
Active [1]:
00000000 4096 3f 00 fffff0b5 0 dirty bsd snooped or LLC
Pinned [0]:
vm[53]
Active [1]:
00000000 4096 3f 00 fffff09a 0 dirty bsd snooped or LLC
Pinned [0]:
vm[54]
Active [1]:
00000000 4096 3f 00 fffff09d 0 dirty bsd snooped or LLC
Pinned [0]:
vm[55]
Active [1]:
00000000 4096 3f 00 fffff0ad 0 dirty bsd snooped or LLC
Pinned [0]:
vm[56]
Active [1]:
00000000 4096 3f 00 fffff0af 0 dirty bsd snooped or LLC
Pinned [0]:
vm[57]
Active [1]:
00000000 4096 3f 00 fffff0b6 0 dirty bsd snooped or LLC
Pinned [0]:
vm[58]
Active [1]:
00000000 4096 3f 00 fffff0b9 0 dirty bsd snooped or LLC
Pinned [0]:
vm[59]
Active [1]:
00000000 4096 3f 00 fffff0ba 0 dirty bsd snooped or LLC
Pinned [0]:
vm[60]
Active [1]:
00000000 4096 3f 00 fffff0ac 0 dirty bsd snooped or LLC
Pinned [0]:
vm[61]
Active [1]:
00000000 4096 3f 00 fffff0aa 0 dirty bsd snooped or LLC
Pinned [0]:
vm[62]
Active [1]:
00000000 4096 3f 00 fffff0b1 0 dirty bsd snooped or LLC
Pinned [0]:
vm[63]
Active [1]:
00000000 4096 3f 00 fffff0bb 0 dirty bsd snooped or LLC
Pinned [0]:
vm[64]
Active [1]:
00000000 4096 3f 00 fffff0b8 0 dirty bsd snooped or LLC
Pinned [0]:
vm[65]
Active [1]:
00000000 4096 3f 00 fffff0be 0 dirty bsd snooped or LLC
Pinned [0]:
-Chris

--
Chris Wilson, Intel Open Source Technology Centre