Bug 111011

Summary: [CI][BAT][VEGA M]: igt@kms_addfb_basic@* - warn/fail - Failed assertion: __gem_set_tiling(fd, handle, tiling, stride) == 0
Product: DRI Reporter: Lakshmi <lakshminarayana.vudum>
Component: IGTAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: KBL i915 features:

Description Lakshmi 2019-06-27 05:38:33 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@addfb25-framebuffer-vs-set-tiling.html

(kms_addfb_basic:2827) ioctl_wrappers-CRITICAL: Failed assertion: __gem_set_tiling(fd, handle, tiling, stride) == 0
(kms_addfb_basic:2827) ioctl_wrappers-CRITICAL: Last errno: 22, Invalid argument
Test kms_addfb_basic failed.
**** DEBUG ****
(kms_addfb_basic:2827) igt_core-INFO: IGT-Version: 1.24-g15ad6645 (x86_64) (Linux: 5.2.0-rc6-CI-CI_DRM_6362+ x86_64)
(kms_addfb_basic:2827) drmtest-DEBUG: Test requirement passed: !(fd<0)
(kms_addfb_basic:2827) DEBUG: Test requirement passed: has_addfb2_iface(fd)
(kms_addfb_basic:2827) ioctl_wrappers-CRITICAL: Test assertion failure function gem_set_tiling, file ../lib/ioctl_wrappers.c:199:
(kms_addfb_basic:2827) ioctl_wrappers-CRITICAL: Failed assertion: __gem_set_tiling(fd, handle, tiling, stride) == 0
(kms_addfb_basic:2827) ioctl_wrappers-CRITICAL: Last errno: 22, Invalid argument
(kms_addfb_basic:2827) igt_core-INFO: Stack trace:
(kms_addfb_basic:2827) igt_core-INFO:   #0 ../lib/igt_core.c:1514 __igt_fail_assert()
(kms_addfb_basic:2827) igt_core-INFO:   #1 [gem_set_tiling+0x3d]
(kms_addfb_basic:2827) igt_core-INFO:   #2 ../tests/kms_addfb_basic.c:502 addfb25_tests()
(kms_addfb_basic:2827) igt_core-INFO:   #3 ../tests/kms_addfb_basic.c:750 __real_main735()
(kms_addfb_basic:2827) igt_core-INFO:   #4 ../tests/kms_addfb_basic.c:735 main()
(kms_addfb_basic:2827) igt_core-INFO:   #5 ../csu/libc-start.c:344 __libc_start_main()
(kms_addfb_basic:2827) igt_core-INFO:   #6 [_start+0x2a]
****  END  ****
Subtest addfb25-framebuffer-vs-set-tiling: FAIL
Comment 1 CI Bug Log 2019-06-27 05:39:24 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* VEGA M: igt@kms_addfb_basic@* - warn/fail - Failed assertion: __gem_set_tiling(fd, handle, tiling, stride) == 0
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@addfb25-framebuffer-vs-set-tiling.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@addfb25-x-tiled.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@addfb25-x-tiled-mismatch.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@bad-pitch-0.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@bad-pitch-1024.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@bad-pitch-128.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@bad-pitch-256.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@bad-pitch-32.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@bad-pitch-63.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@bad-pitch-65536.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@bad-pitch-999.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@basic.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@bo-too-small.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@bo-too-small-due-to-tiling.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@clobberred-modifier.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@invalid-get-prop.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@invalid-get-prop-any.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@invalid-set-prop.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@invalid-set-prop-any.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@no-handle.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@size-max.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@small-bo.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@too-high.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6362/fi-kbl-8809g/igt@kms_addfb_basic@too-wide.html
Comment 2 Arek Hiler 2019-07-26 10:11:40 UTC
The test is failing because we try to set the tiling using DRM_I915_GEM_SET_TILING, which for obvious reasons is not available on AMDGPU. Two other drivers have their counterparts of that IOCTL (radeon and tegra), but we are not using it anyway.

We have to decide what to do with those kind of tests, as they are both i915 specific and covering KMS API and we want to get rid of opening DRIVER_INTEL in kms_ tests.

Anyway it's a test issue and should be sorted out one way or another.
Comment 3 Arek Hiler 2019-10-29 08:21:16 UTC
Moving to IGT
Comment 4 Martin Peres 2019-11-12 07:41:22 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/27.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.