drm: Give the DRM device's anon_inode a unique lockclass for its mmap_rswem

Submitted by Chris Wilson on Dec. 11, 2017, 10:39 a.m.

Details

Reviewer None
Submitted Dec. 11, 2017, 10:39 a.m.
Last Updated Dec. 11, 2017, 1:15 p.m.
Revision 1

Revisions

Patches download mbox

Tests

Series 35171v1 drm: Give the DRM device's anon_inode a unique lockclass for its mmap_rswem
https://patchwork.freedesktop.org/api/1.0/series/35171/revisions/1/mbox/

Test debugfs_test:
        Subgroup read_all_entries:
                pass       -> DMESG-WARN (fi-elk-e7500) fdo#103989 +1
Test gem_exec_fence:
        Subgroup nb-await-default:
                dmesg-fail -> PASS       (fi-pnv-d510)
Test kms_cursor_legacy:
        Subgroup basic-busy-flip-before-cursor-legacy:
                fail       -> PASS       (fi-gdg-551) fdo#102618
Test kms_pipe_crc_basic:
        Subgroup suspend-read-crc-pipe-a:
                pass       -> FAIL       (fi-hsw-4770) fdo#103375
                pass       -> DMESG-WARN (fi-kbl-r) fdo#104172 +1
        Subgroup suspend-read-crc-pipe-b:
                incomplete -> PASS       (fi-snb-2520m) fdo#103713

fdo#103989 https://bugs.freedesktop.org/show_bug.cgi?id=103989
fdo#102618 https://bugs.freedesktop.org/show_bug.cgi?id=102618
fdo#103375 https://bugs.freedesktop.org/show_bug.cgi?id=103375
fdo#104172 https://bugs.freedesktop.org/show_bug.cgi?id=104172
fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713

fi-bdw-5557u     total:288  pass:267  dwarn:0   dfail:0   fail:0   skip:21  time:440s
fi-bdw-gvtdvm    total:288  pass:264  dwarn:0   dfail:0   fail:0   skip:24  time:450s
fi-blb-e6850     total:288  pass:223  dwarn:1   dfail:0   fail:0   skip:64  time:384s
fi-bsw-n3050     total:288  pass:242  dwarn:0   dfail:0   fail:0   skip:46  time:523s
fi-bwr-2160      total:288  pass:183  dwarn:0   dfail:0   fail:0   skip:105 time:284s
fi-bxt-dsi       total:288  pass:258  dwarn:0   dfail:0   fail:0   skip:30  time:505s
fi-bxt-j4205     total:288  pass:259  dwarn:0   dfail:0   fail:0   skip:29  time:515s
fi-byt-j1900     total:288  pass:253  dwarn:0   dfail:0   fail:0   skip:35  time:493s
fi-byt-n2820     total:288  pass:249  dwarn:0   dfail:0   fail:0   skip:39  time:482s
fi-elk-e7500     total:224  pass:163  dwarn:15  dfail:0   fail:0   skip:45 
fi-gdg-551       total:288  pass:178  dwarn:1   dfail:0   fail:1   skip:108 time:271s
fi-glk-1         total:288  pass:260  dwarn:0   dfail:0   fail:0   skip:28  time:539s
fi-hsw-4770      total:288  pass:260  dwarn:0   dfail:0   fail:1   skip:27  time:353s
fi-hsw-4770r     total:288  pass:224  dwarn:0   dfail:0   fail:0   skip:64  time:262s
fi-ilk-650       total:288  pass:228  dwarn:0   dfail:0   fail:0   skip:60  time:395s
fi-ivb-3520m     total:288  pass:259  dwarn:0   dfail:0   fail:0   skip:29  time:483s
fi-ivb-3770      total:288  pass:259  dwarn:0   dfail:0   fail:0   skip:29  time:449s
fi-kbl-7500u     total:288  pass:263  dwarn:1   dfail:0   fail:0   skip:24  time:490s
fi-kbl-7560u     total:288  pass:269  dwarn:0   dfail:0   fail:0   skip:19  time:531s
fi-kbl-7567u     total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:476s
fi-kbl-r         total:288  pass:260  dwarn:1   dfail:0   fail:0   skip:27  time:532s
fi-pnv-d510      total:288  pass:222  dwarn:1   dfail:0   fail:0   skip:65  time:604s
fi-skl-6260u     total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:453s
fi-skl-6600u     total:288  pass:261  dwarn:0   dfail:0   fail:0   skip:27  time:548s
fi-skl-6700hq    total:288  pass:262  dwarn:0   dfail:0   fail:0   skip:26  time:562s
fi-skl-6700k     total:288  pass:264  dwarn:0   dfail:0   fail:0   skip:24  time:527s
fi-skl-6770hq    total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:503s
fi-skl-gvtdvm    total:288  pass:265  dwarn:0   dfail:0   fail:0   skip:23  time:451s
fi-snb-2520m     total:288  pass:249  dwarn:0   dfail:0   fail:0   skip:39  time:555s
fi-snb-2600      total:288  pass:248  dwarn:0   dfail:0   fail:0   skip:40  time:423s
Blacklisted hosts:
fi-cfl-s2        total:288  pass:262  dwarn:0   dfail:0   fail:0   skip:26  time:604s
fi-glk-dsi       total:288  pass:152  dwarn:1   dfail:4   fail:0   skip:131 time:294s

6c0bf00e417c7d37409f87be775ff98c76505350 drm-tip: 2017y-12m-10d-18h-32m-45s UTC integration manifest
a05561a3319e drm: Give the DRM device's anon_inode a unique lockclass for its mmap_rswem
Test kms_cursor_crc:
        Subgroup cursor-128x128-onscreen:
                skip       -> PASS       (shard-snb)
        Subgroup cursor-64x64-suspend:
                pass       -> INCOMPLETE (shard-hsw) fdo#103540
Test kms_plane:
        Subgroup plane-panning-top-left-pipe-b-planes:
                skip       -> PASS       (shard-snb)
Test kms_chv_cursor_fail:
        Subgroup pipe-a-256x256-top-edge:
                skip       -> PASS       (shard-snb)
Test kms_atomic:
        Subgroup atomic_invalid_params:
                skip       -> PASS       (shard-snb)
Test drv_module_reload:
        Subgroup basic-reload:
                pass       -> INCOMPLETE (shard-hsw) fdo#102707

fdo#103540 https://bugs.freedesktop.org/show_bug.cgi?id=103540
fdo#102707 https://bugs.freedesktop.org/show_bug.cgi?id=102707

shard-hsw        total:2616 pass:1490 dwarn:1   dfail:0   fail:10  skip:1113 time:8801s
shard-snb        total:2692 pass:1310 dwarn:1   dfail:0   fail:11  skip:1370 time:8107s
Blacklisted hosts:
shard-apl        total:2692 pass:1686 dwarn:2   dfail:0   fail:23  skip:981 time:13919s
shard-kbl        total:2692 pass:1808 dwarn:1   dfail:0   fail:23  skip:859 time:10994s
# Checkpatch
$ ./scripts/checkpatch.pl -g origin/drm-tip..HEAD
total: 0 errors, 0 warnings, 30 lines checked

Commit a05561a3319e ("drm: Give the DRM device's anon_inode a unique lockclass for its mmap_rswem") has no obvious style problems and is ready for submission.

# Sparse Check
$ make C=2 drivers/gpu/drm/i915/i915.ko
drivers/gpu/drm/i915/selftests/i915_syncmap.c:80:54: warning: dubious: x | !y
drivers/gpu/drm/i915/i915_gem_request.c:292:13: error: undefined identifier '__builtin_add_overflow_p'
drivers/gpu/drm/i915/i915_gem_request.c:292:13: warning: call with no type!
drivers/gpu/drm/i915/i915_gem_stolen.c:192:26: error: undefined identifier '__builtin_add_overflow_p'
drivers/gpu/drm/i915/i915_gem_stolen.c:192:26: warning: call with no type!
./include/linux/relay.h:258:34: warning: incorrect type in initializer (different address spaces)
./include/linux/relay.h:258:34:    expected void const [noderef] <asn:3>*__vpp_verify
./include/linux/relay.h:258:34:    got struct rchan_buf **<noident>
./include/linux/relay.h:258:34: warning: incorrect type in initializer (different address spaces)
./include/linux/relay.h:258:34:    expected void const [noderef] <asn:3>*__vpp_verify
./include/linux/relay.h:258:34:    got struct rchan_buf **<noident>
./include/linux/relay.h:269:9: warning: dereference of noderef expression
./include/linux/relay.h:269:9: warning: dereference of noderef expression
drivers/gpu/drm/i915/i915_perf.c:1366:15: warning: memset with byte count of 16777216
drivers/gpu/drm/i915/i915_perf.c:1424:15: warning: memset with byte count of 16777216
drivers/gpu/drm/i915/gvt/mmio.c:357:23: warning: memcpy with byte count of 279040
drivers/gpu/drm/i915/gvt/mmio.c:358:23: warning: memcpy with byte count of 279040