CC: [email protected] CC: [email protected] TO: Maarten Lankhorst <[email protected]> CC: Daniel Vetter <[email protected]> CC: "Thomas Hellström" <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a763d5a5abd65797aec3dd1bf01fe2ccbec32967 commit: 2c8ab3339e398bbbcb0980933e266b93bedaae52 drm/i915: Pin timeline map after first timeline pin, v4. date: 9 months ago :::::: branch date: 17 hours ago :::::: commit date: 9 months ago config: i386-randconfig-m021-20211207 (https://download.01.org/0day-ci/archive/20211213/[email protected]/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> smatch warnings: drivers/gpu/drm/i915/gt/mock_engine.c:48 mock_timeline_pin() warn: inconsistent returns 'tl->hwsp_ggtt->obj->base.resv'. vim +48 drivers/gpu/drm/i915/gt/mock_engine.c f97fbf9606a1a9 drivers/gpu/drm/i915/selftests/mock_engine.c Chris Wilson 2017-02-13 34 2c8ab3339e398b drivers/gpu/drm/i915/gt/mock_engine.c Maarten Lankhorst 2021-03-23 35 static int mock_timeline_pin(struct intel_timeline *tl) 5013eb8cd601c3 drivers/gpu/drm/i915/selftests/mock_engine.c Chris Wilson 2019-01-28 36 { 2c8ab3339e398b drivers/gpu/drm/i915/gt/mock_engine.c Maarten Lankhorst 2021-03-23 37 int err; 2c8ab3339e398b drivers/gpu/drm/i915/gt/mock_engine.c Maarten Lankhorst 2021-03-23 38 2c8ab3339e398b drivers/gpu/drm/i915/gt/mock_engine.c Maarten Lankhorst 2021-03-23 39 if (WARN_ON(!i915_gem_object_trylock(tl->hwsp_ggtt->obj))) 2c8ab3339e398b drivers/gpu/drm/i915/gt/mock_engine.c Maarten Lankhorst 2021-03-23 40 return -EBUSY; 2c8ab3339e398b drivers/gpu/drm/i915/gt/mock_engine.c Maarten Lankhorst 2021-03-23 41 2c8ab3339e398b drivers/gpu/drm/i915/gt/mock_engine.c Maarten Lankhorst 2021-03-23 42 err = intel_timeline_pin_map(tl); 2c8ab3339e398b drivers/gpu/drm/i915/gt/mock_engine.c Maarten Lankhorst 2021-03-23 43 i915_gem_object_unlock(tl->hwsp_ggtt->obj); 2c8ab3339e398b drivers/gpu/drm/i915/gt/mock_engine.c Maarten Lankhorst 2021-03-23 44 if (err) 2c8ab3339e398b drivers/gpu/drm/i915/gt/mock_engine.c Maarten Lankhorst 2021-03-23 45 return err; 2c8ab3339e398b drivers/gpu/drm/i915/gt/mock_engine.c Maarten Lankhorst 2021-03-23 46 ccb23d2dcc300d drivers/gpu/drm/i915/gt/mock_engine.c Chris Wilson 2019-08-15 47 atomic_inc(&tl->pin_count); 2c8ab3339e398b drivers/gpu/drm/i915/gt/mock_engine.c Maarten Lankhorst 2021-03-23 @48 return 0; 5013eb8cd601c3 drivers/gpu/drm/i915/selftests/mock_engine.c Chris Wilson 2019-01-28 49 } 5013eb8cd601c3 drivers/gpu/drm/i915/selftests/mock_engine.c Chris Wilson 2019-01-28 50 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected] _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
