media/master bisection: v4l2-compliance-vivid.device-presence on qemu_x86_64
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
FYI - This bisection was run because the KernelCI v4l2-compliance tests on vivid failed to find a media device. Regression details can be found here:
https://linux.kernelci.org/test/job/media/branch/master/kernel/v5.14-rc1/plan/v4l2-compliance-vivid/
This doesn't really seem to be a kernel config issue per se, the driver just wasn't built because of the DRM Kconfig change. Instead I've added CONFIG_FB to the fragment used by KernelCI to enable the vivid driver:
https://github.com/kernelci/kernelci-core/pull/776/files
Does that sound like the best approach? Trying to enable CONFIG_FB in the vivid Kconfig causes cyclic dependencies and seems backwards, so I thought that was the way to go.
The drm-tip tree is not currently covered by KernelCI, I guess it would have caught the issue before it landed in mainline. We're planning to enable it again, mainly to run IGT but it seems like some basic checks for drivers that depend on some DRM configs would be useful too. Maybe doing that on linux-next too would be useful.
Best wishes,
Guillaume
Quoted 124 lines · KernelCI bot
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the problem may be somewhere else. * * * * If you do send a fix, please include this trailer: * * Reported-by: "kernelci.org bot" <[email protected]> * * * * Hope this helps! ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
media/master bisection: v4l2-compliance-vivid.device-presence on
qemu_x86_64Summary:
Start: e73f0f0ee754 Linux 5.14-rc1 Plain log: https://storage.kernelci.org/media/master/v5.14-rc1/x86_64/x86_64_defconfig+virtualvideo/gcc-8/lab-collabora/v4l2-compliance-vivid-qemu_x86_64.txt HTML log: https://storage.kernelci.org/media/master/v5.14-rc1/x86_64/x86_64_defconfig+virtualvideo/gcc-8/lab-collabora/v4l2-compliance-vivid-qemu_x86_64.html Result: f611b1e7624c drm: Avoid circular dependencies for CONFIG_FBChecks:
revert: PASS
verify: PASSParameters:
Tree: media URL: https://git.linuxtv.org/media_tree.git Branch: master Target: qemu_x86_64 CPU arch: x86_64 Lab: lab-collabora Compiler: gcc-8 Config: x86_64_defconfig+virtualvideo Test case: v4l2-compliance-vivid.device-presenceBreaking commit found:
-------------------------------------------------------------------------------
commitf611b1e7624ccdbd495c19e9805629e22265aa16Author: Kees Cook <[email protected]> Date: Wed Jun 2 14:52:50 2021 -0700drm: Avoid circular dependencies for
CONFIG_FBWhen cleaning up other drm config dependencies, it is too easy to create larger problems. Instead, mark
CONFIG_FBas a "depends":drivers/gpu/drm/Kconfig:74:error: recursive dependency detected!
Suggested-by Arnd Bergmann <[email protected]>Link https://lore.kernel.org/lkml/CAK8P3a3jUQs6c5tESSNMbqfuymewj9FhqRizyHcfOXf8Rgy-nA@mail.gmail.com/ open hereSigned-off-by Kees Cook <[email protected]>[danvet: Rebase, the symbol has changed.]Signed-off-by Daniel Vetter <[email protected]>drivers/gpu/drm/Kconfig +1
-2@@ -98,8 +98,8 @@ config DRM_DEBUG_DP_MST_TOPOLOGY_REFS config DRM_FBDEV_EMULATION bool "Enable legacy fbdev support for your modesetting driver" depends on DRM + depends on FB select DRM_KMS_HELPER - select FB select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT -------------------------------------------------------------------------------Git bisection log:
-------------------------------------------------------------------------------
git bisect start
# good: [50e7a31d30e8221632675abed3be306382324ca2] media: Fix Media Controller API config checks
git bisect good50e7a31d30e8221632675abed3be306382324ca2
# bad: [e73f0f0ee7541171d89f2e2491130c7771ba58d3] Linux 5.14-rc1
git bisect bade73f0f0ee7541171d89f2e2491130c7771ba58d3
# bad: [e058a84bfddc42ba356a2316f2cf1141974625c9] Merge tag 'drm-next-2021-07-01' ofgit://anongit.freedesktop.org/drm/drm
git bisect bade058a84bfddc42ba356a2316f2cf1141974625c9
# good: [a6eaf3850cb171c328a8b0db6d3c79286a1eba9d] Merge tag 'sched-urgent-2021-06-30' ofgit://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect gooda6eaf3850cb171c328a8b0db6d3c79286a1eba9d
# good: [007b312c6f294770de01fbc0643610145012d244] Merge tag 'mac80211-next-for-net-next-2021-06-25' ofgit://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
git bisect good007b312c6f294770de01fbc0643610145012d244
# good: [18703923a66aecf6f7ded0e16d22eb412ddae72f] drm/amdgpu: Fix incorrect register offsets for Sienna Cichlid
git bisect good18703923a66aecf6f7ded0e16d22eb412ddae72f
# bad: [334200bf52f0637a5ab8331c557dfcecbb9c30fa] Merge tag 'drm-msm-next-2021-06-23b' of https://gitlab.freedesktop.org/drm/msm into drm-next git bisect bad334200bf52f0637a5ab8331c557dfcecbb9c30fa
# bad: [c707b73f0cfb1acc94a20389aecde65e6385349b] Merge tag 'amd-drm-next-5.14-2021-06-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-next git bisect badc707b73f0cfb1acc94a20389aecde65e6385349b
# good: [caa18dd6dd9305d52943a6b59f410cbc960ad0a0] drm/amd/display: force CP to DESIRED when removing display
git bisect goodcaa18dd6dd9305d52943a6b59f410cbc960ad0a0
# bad: [691cf8cd7a531dbfcc29d09a23c509a86fd9b24f] drm/amdgpu: use correct rounding macro for 64-bit
git bisect bad691cf8cd7a531dbfcc29d09a23c509a86fd9b24f
# bad: [2fdcb55dfc86835e4845e3f422180b5596d23cb4] drm/amdkfd: use resource cursor insvm_migrate_copy_to_vramv2
git bisect bad2fdcb55dfc86835e4845e3f422180b5596d23cb4
# bad: [6c3f953381e526a1623d4575660afae8b19ffa20] drm/sti/sti_hqvdp: Fix incorrectly named function 'sti_hqvdp_vtg_cb()'
git bisect bad6c3f953381e526a1623d4575660afae8b19ffa20
# bad: [5ea4dba68305d9648b9dba30036cc36d4e877bca] drm/msm/a6xx: addCONFIG_QCOM_LLCCdependency
git bisect bad5ea4dba68305d9648b9dba30036cc36d4e877bca
# good: [4a888ba03fd97d1cb0253581973533965bf348c4] drm/vgem/vgem_drv: Standard comment blocks should not use kernel-doc format
git bisect good4a888ba03fd97d1cb0253581973533965bf348c4
# good: [c5ef15ae09637fb51ae43e1d1d98329d67dd4fd6] video: fbdev: atyfb:mach64_cursor.c: deleted the repeated word
git bisect goodc5ef15ae09637fb51ae43e1d1d98329d67dd4fd6
# bad: [f611b1e7624ccdbd495c19e9805629e22265aa16] drm: Avoid circular dependencies forCONFIG_FB
git bisect badf611b1e7624ccdbd495c19e9805629e22265aa16
# good: [ff323d6d72e1e4971c8ba9e2f3cf8afc48f22383] video: fbdev: mb862xx: useDEVICE_ATTR_ROmacro
git bisect goodff323d6d72e1e4971c8ba9e2f3cf8afc48f22383# first bad commit: [f611b1e7624ccdbd495c19e9805629e22265aa16] drm: Avoid circular dependencies for CONFIG_FB --------------------------------------------------------------------------------=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#13992): https://groups.io/g/kernelci-results/message/13992
Mute This Topic: https://groups.io/mt/84176294/924702
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/kernelci-results/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 13 lines · Guillaume Tucker
Hello,
FYI - This bisection was run because the KernelCI v4l2-compliance tests on vivid failed to find a media device. Regression details can be found here:
https://linux.kernelci.org/test/job/media/branch/master/kernel/v5.14-rc1/plan/v4l2-compliance-vivid/
This doesn't really seem to be a kernel config issue per se, the driver just wasn't built because of the DRM
Kconfigchange. Instead I've addedCONFIG_FBto the fragment used by KernelCI to enable the vivid driver:
Quoted 5 lines
https://github.com/kernelci/kernelci-core/pull/776/files
Does that sound like the best approach? Trying to enable
CONFIG_FBin the vividKconfigcauses cyclic dependencies and seems backwards, so I thought that was the way to go.
Yes, that's the right approach.
I read that they disabled CONFIG_FB by default, so this is the fallout of that change. I wonder if I should change vivid so that it no longer depends on CONFIG_FB and instead just disables the bits that depend on that if it isn't set. I think it's a fair amount of work, though.
Regards,
Hans
Quoted 138 lines
The drm-tip tree is not currently covered by KernelCI, I guess it would have caught the issue before it landed in mainline. We're planning to enable it again, mainly to run IGT but it seems like some basic checks for drivers that depend on some DRM configs would be useful too. Maybe doing that on linux-next too would be useful.
Best wishes,
GuillaumeQuoted 124 lines · KernelCI bot
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the problem may be somewhere else. * * * * If you do send a fix, please include this trailer: * * Reported-by: "kernelci.org bot" <[email protected]> * * * * Hope this helps! ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
media/master bisection: v4l2-compliance-vivid.device-presence on
qemu_x86_64Summary:
Start: e73f0f0ee754 Linux 5.14-rc1 Plain log: https://storage.kernelci.org/media/master/v5.14-rc1/x86_64/x86_64_defconfig+virtualvideo/gcc-8/lab-collabora/v4l2-compliance-vivid-qemu_x86_64.txt HTML log: https://storage.kernelci.org/media/master/v5.14-rc1/x86_64/x86_64_defconfig+virtualvideo/gcc-8/lab-collabora/v4l2-compliance-vivid-qemu_x86_64.html Result: f611b1e7624c drm: Avoid circular dependencies for CONFIG_FBChecks:
revert: PASS
verify: PASSParameters:
Tree: media URL: https://git.linuxtv.org/media_tree.git Branch: master Target: qemu_x86_64 CPU arch: x86_64 Lab: lab-collabora Compiler: gcc-8 Config: x86_64_defconfig+virtualvideo Test case: v4l2-compliance-vivid.device-presenceBreaking commit found:
-------------------------------------------------------------------------------
commitf611b1e7624ccdbd495c19e9805629e22265aa16Author: Kees Cook <[email protected]> Date: Wed Jun 2 14:52:50 2021 -0700drm: Avoid circular dependencies for
CONFIG_FBWhen cleaning up other drm config dependencies, it is too easy to create larger problems. Instead, mark
CONFIG_FBas a "depends":drivers/gpu/drm/Kconfig:74:error: recursive dependency detected!
Suggested-by Arnd Bergmann <[email protected]>Link https://lore.kernel.org/lkml/CAK8P3a3jUQs6c5tESSNMbqfuymewj9FhqRizyHcfOXf8Rgy-nA@mail.gmail.com/ open hereSigned-off-by Kees Cook <[email protected]>[danvet: Rebase, the symbol has changed.]Signed-off-by Daniel Vetter <[email protected]>drivers/gpu/drm/Kconfig +1
-2@@ -98,8 +98,8 @@ config DRM_DEBUG_DP_MST_TOPOLOGY_REFS config DRM_FBDEV_EMULATION bool "Enable legacy fbdev support for your modesetting driver" depends on DRM + depends on FB select DRM_KMS_HELPER - select FB select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT -------------------------------------------------------------------------------Git bisection log:
-------------------------------------------------------------------------------
git bisect start
# good: [50e7a31d30e8221632675abed3be306382324ca2] media: Fix Media Controller API config checks
git bisect good50e7a31d30e8221632675abed3be306382324ca2
# bad: [e73f0f0ee7541171d89f2e2491130c7771ba58d3] Linux 5.14-rc1
git bisect bade73f0f0ee7541171d89f2e2491130c7771ba58d3
# bad: [e058a84bfddc42ba356a2316f2cf1141974625c9] Merge tag 'drm-next-2021-07-01' ofgit://anongit.freedesktop.org/drm/drm
git bisect bade058a84bfddc42ba356a2316f2cf1141974625c9
# good: [a6eaf3850cb171c328a8b0db6d3c79286a1eba9d] Merge tag 'sched-urgent-2021-06-30' ofgit://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect gooda6eaf3850cb171c328a8b0db6d3c79286a1eba9d
# good: [007b312c6f294770de01fbc0643610145012d244] Merge tag 'mac80211-next-for-net-next-2021-06-25' ofgit://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
git bisect good007b312c6f294770de01fbc0643610145012d244
# good: [18703923a66aecf6f7ded0e16d22eb412ddae72f] drm/amdgpu: Fix incorrect register offsets for Sienna Cichlid
git bisect good18703923a66aecf6f7ded0e16d22eb412ddae72f
# bad: [334200bf52f0637a5ab8331c557dfcecbb9c30fa] Merge tag 'drm-msm-next-2021-06-23b' of https://gitlab.freedesktop.org/drm/msm into drm-next git bisect bad334200bf52f0637a5ab8331c557dfcecbb9c30fa
# bad: [c707b73f0cfb1acc94a20389aecde65e6385349b] Merge tag 'amd-drm-next-5.14-2021-06-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-next git bisect badc707b73f0cfb1acc94a20389aecde65e6385349b
# good: [caa18dd6dd9305d52943a6b59f410cbc960ad0a0] drm/amd/display: force CP to DESIRED when removing display
git bisect goodcaa18dd6dd9305d52943a6b59f410cbc960ad0a0
# bad: [691cf8cd7a531dbfcc29d09a23c509a86fd9b24f] drm/amdgpu: use correct rounding macro for 64-bit
git bisect bad691cf8cd7a531dbfcc29d09a23c509a86fd9b24f
# bad: [2fdcb55dfc86835e4845e3f422180b5596d23cb4] drm/amdkfd: use resource cursor insvm_migrate_copy_to_vramv2
git bisect bad2fdcb55dfc86835e4845e3f422180b5596d23cb4
# bad: [6c3f953381e526a1623d4575660afae8b19ffa20] drm/sti/sti_hqvdp: Fix incorrectly named function 'sti_hqvdp_vtg_cb()'
git bisect bad6c3f953381e526a1623d4575660afae8b19ffa20
# bad: [5ea4dba68305d9648b9dba30036cc36d4e877bca] drm/msm/a6xx: addCONFIG_QCOM_LLCCdependency
git bisect bad5ea4dba68305d9648b9dba30036cc36d4e877bca
# good: [4a888ba03fd97d1cb0253581973533965bf348c4] drm/vgem/vgem_drv: Standard comment blocks should not use kernel-doc format
git bisect good4a888ba03fd97d1cb0253581973533965bf348c4
# good: [c5ef15ae09637fb51ae43e1d1d98329d67dd4fd6] video: fbdev: atyfb:mach64_cursor.c: deleted the repeated word
git bisect goodc5ef15ae09637fb51ae43e1d1d98329d67dd4fd6
# bad: [f611b1e7624ccdbd495c19e9805629e22265aa16] drm: Avoid circular dependencies forCONFIG_FB
git bisect badf611b1e7624ccdbd495c19e9805629e22265aa16
# good: [ff323d6d72e1e4971c8ba9e2f3cf8afc48f22383] video: fbdev: mb862xx: useDEVICE_ATTR_ROmacro
git bisect goodff323d6d72e1e4971c8ba9e2f3cf8afc48f22383# first bad commit: [f611b1e7624ccdbd495c19e9805629e22265aa16] drm: Avoid circular dependencies for CONFIG_FB --------------------------------------------------------------------------------=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#13992): https://groups.io/g/kernelci-results/message/13992
Mute This Topic: https://groups.io/mt/84176294/924702
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/kernelci-results/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
+collabora
Quoted 20 lines · Hans Verkuil
Quoted 13 lines · Guillaume Tucker
Hello,
FYI - This bisection was run because the KernelCI v4l2-compliance tests on vivid failed to find a media device. Regression details can be found here:
https://linux.kernelci.org/test/job/media/branch/master/kernel/v5.14-rc1/plan/v4l2-compliance-vivid/
This doesn't really seem to be a kernel config issue per se, the driver just wasn't built because of the DRM
Kconfigchange. Instead I've addedCONFIG_FBto the fragment used by KernelCI to enable the vivid driver:Quoted 5 lines
https://github.com/kernelci/kernelci-core/pull/776/files
Does that sound like the best approach? Trying to enable
CONFIG_FBin the vividKconfigcauses cyclic dependencies and seems backwards, so I thought that was the way to go.
Quoted 6 lines
Yes, that's the right approach.
I read that they disabled
CONFIG_FBby default, so this is the fallout of that change. I wonder if I should change vivid so that it no longer depends onCONFIG_FBand instead just disables the bits that depend on that if it isn't set. I think it's a fair amount of work, though.
Well I had a look and it's not that bad, unless I'm missing something else:
I've run some initial KernelCI tests by hand with this change, both with CONFIG_FB=y and without:
https://lava.collabora.co.uk/scheduler/job/4276515 (with CONFIG_FB=y)
https://lava.collabora.co.uk/scheduler/job/4276493 (without CONFIG_FB)
It builds fine and the results seem OK in both cases. If this patch looks good to you then we could have both builds also enabled on kernelci.org for the media tree, to test v4l2-compliance on vivid with and without CONFIG_FB enabled.
Best wishes,
Guillaume
Quoted 138 lines
Quoted 137 lines
The drm-tip tree is not currently covered by KernelCI, I guess it would have caught the issue before it landed in mainline. We're planning to enable it again, mainly to run IGT but it seems like some basic checks for drivers that depend on some DRM configs would be useful too. Maybe doing that on linux-next too would be useful.
Best wishes,
GuillaumeQuoted 124 lines · KernelCI bot
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the problem may be somewhere else. * * * * If you do send a fix, please include this trailer: * * Reported-by: "kernelci.org bot" <[email protected]> * * * * Hope this helps! ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
media/master bisection: v4l2-compliance-vivid.device-presence on
qemu_x86_64Summary:
Start: e73f0f0ee754 Linux 5.14-rc1 Plain log: https://storage.kernelci.org/media/master/v5.14-rc1/x86_64/x86_64_defconfig+virtualvideo/gcc-8/lab-collabora/v4l2-compliance-vivid-qemu_x86_64.txt HTML log: https://storage.kernelci.org/media/master/v5.14-rc1/x86_64/x86_64_defconfig+virtualvideo/gcc-8/lab-collabora/v4l2-compliance-vivid-qemu_x86_64.html Result: f611b1e7624c drm: Avoid circular dependencies for CONFIG_FBChecks:
revert: PASS
verify: PASSParameters:
Tree: media URL: https://git.linuxtv.org/media_tree.git Branch: master Target: qemu_x86_64 CPU arch: x86_64 Lab: lab-collabora Compiler: gcc-8 Config: x86_64_defconfig+virtualvideo Test case: v4l2-compliance-vivid.device-presenceBreaking commit found:
-------------------------------------------------------------------------------
commitf611b1e7624ccdbd495c19e9805629e22265aa16Author: Kees Cook <[email protected]> Date: Wed Jun 2 14:52:50 2021 -0700drm: Avoid circular dependencies for
CONFIG_FBWhen cleaning up other drm config dependencies, it is too easy to create larger problems. Instead, mark
CONFIG_FBas a "depends":drivers/gpu/drm/Kconfig:74:error: recursive dependency detected!
Suggested-by Arnd Bergmann <[email protected]>Link https://lore.kernel.org/lkml/CAK8P3a3jUQs6c5tESSNMbqfuymewj9FhqRizyHcfOXf8Rgy-nA@mail.gmail.com/ open hereSigned-off-by Kees Cook <[email protected]>[danvet: Rebase, the symbol has changed.]Signed-off-by Daniel Vetter <[email protected]>drivers/gpu/drm/Kconfig +1
-2@@ -98,8 +98,8 @@ config DRM_DEBUG_DP_MST_TOPOLOGY_REFS config DRM_FBDEV_EMULATION bool "Enable legacy fbdev support for your modesetting driver" depends on DRM + depends on FB select DRM_KMS_HELPER - select FB select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT -------------------------------------------------------------------------------Git bisection log:
-------------------------------------------------------------------------------
git bisect start
# good: [50e7a31d30e8221632675abed3be306382324ca2] media: Fix Media Controller API config checks
git bisect good50e7a31d30e8221632675abed3be306382324ca2
# bad: [e73f0f0ee7541171d89f2e2491130c7771ba58d3] Linux 5.14-rc1
git bisect bade73f0f0ee7541171d89f2e2491130c7771ba58d3
# bad: [e058a84bfddc42ba356a2316f2cf1141974625c9] Merge tag 'drm-next-2021-07-01' ofgit://anongit.freedesktop.org/drm/drm
git bisect bade058a84bfddc42ba356a2316f2cf1141974625c9
# good: [a6eaf3850cb171c328a8b0db6d3c79286a1eba9d] Merge tag 'sched-urgent-2021-06-30' ofgit://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect gooda6eaf3850cb171c328a8b0db6d3c79286a1eba9d
# good: [007b312c6f294770de01fbc0643610145012d244] Merge tag 'mac80211-next-for-net-next-2021-06-25' ofgit://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
git bisect good007b312c6f294770de01fbc0643610145012d244
# good: [18703923a66aecf6f7ded0e16d22eb412ddae72f] drm/amdgpu: Fix incorrect register offsets for Sienna Cichlid
git bisect good18703923a66aecf6f7ded0e16d22eb412ddae72f
# bad: [334200bf52f0637a5ab8331c557dfcecbb9c30fa] Merge tag 'drm-msm-next-2021-06-23b' of https://gitlab.freedesktop.org/drm/msm into drm-next git bisect bad334200bf52f0637a5ab8331c557dfcecbb9c30fa
# bad: [c707b73f0cfb1acc94a20389aecde65e6385349b] Merge tag 'amd-drm-next-5.14-2021-06-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-next git bisect badc707b73f0cfb1acc94a20389aecde65e6385349b
# good: [caa18dd6dd9305d52943a6b59f410cbc960ad0a0] drm/amd/display: force CP to DESIRED when removing display
git bisect goodcaa18dd6dd9305d52943a6b59f410cbc960ad0a0
# bad: [691cf8cd7a531dbfcc29d09a23c509a86fd9b24f] drm/amdgpu: use correct rounding macro for 64-bit
git bisect bad691cf8cd7a531dbfcc29d09a23c509a86fd9b24f
# bad: [2fdcb55dfc86835e4845e3f422180b5596d23cb4] drm/amdkfd: use resource cursor insvm_migrate_copy_to_vramv2
git bisect bad2fdcb55dfc86835e4845e3f422180b5596d23cb4
# bad: [6c3f953381e526a1623d4575660afae8b19ffa20] drm/sti/sti_hqvdp: Fix incorrectly named function 'sti_hqvdp_vtg_cb()'
git bisect bad6c3f953381e526a1623d4575660afae8b19ffa20
# bad: [5ea4dba68305d9648b9dba30036cc36d4e877bca] drm/msm/a6xx: addCONFIG_QCOM_LLCCdependency
git bisect bad5ea4dba68305d9648b9dba30036cc36d4e877bca
# good: [4a888ba03fd97d1cb0253581973533965bf348c4] drm/vgem/vgem_drv: Standard comment blocks should not use kernel-doc format
git bisect good4a888ba03fd97d1cb0253581973533965bf348c4
# good: [c5ef15ae09637fb51ae43e1d1d98329d67dd4fd6] video: fbdev: atyfb:mach64_cursor.c: deleted the repeated word
git bisect goodc5ef15ae09637fb51ae43e1d1d98329d67dd4fd6
# bad: [f611b1e7624ccdbd495c19e9805629e22265aa16] drm: Avoid circular dependencies forCONFIG_FB
git bisect badf611b1e7624ccdbd495c19e9805629e22265aa16
# good: [ff323d6d72e1e4971c8ba9e2f3cf8afc48f22383] video: fbdev: mb862xx: useDEVICE_ATTR_ROmacro
git bisect goodff323d6d72e1e4971c8ba9e2f3cf8afc48f22383# first bad commit: [f611b1e7624ccdbd495c19e9805629e22265aa16] drm: Avoid circular dependencies for CONFIG_FB --------------------------------------------------------------------------------=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#13992): https://groups.io/g/kernelci-results/message/13992
Mute This Topic: https://groups.io/mt/84176294/924702
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/kernelci-results/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 30 lines · Guillaume Tucker
+collabora
Quoted 20 lines · Hans Verkuil
Quoted 13 lines · Guillaume Tucker
Hello,
FYI - This bisection was run because the KernelCI v4l2-compliance tests on vivid failed to find a media device. Regression details can be found here:
https://linux.kernelci.org/test/job/media/branch/master/kernel/v5.14-rc1/plan/v4l2-compliance-vivid/
This doesn't really seem to be a kernel config issue per se, the driver just wasn't built because of the DRM
Kconfigchange. Instead I've addedCONFIG_FBto the fragment used by KernelCI to enable the vivid driver:Quoted 5 lines
https://github.com/kernelci/kernelci-core/pull/776/files
Does that sound like the best approach? Trying to enable
CONFIG_FBin the vividKconfigcauses cyclic dependencies and seems backwards, so I thought that was the way to go.Quoted 6 lines
Yes, that's the right approach.
I read that they disabled
CONFIG_FBby default, so this is the fallout of that change. I wonder if I should change vivid so that it no longer depends onCONFIG_FBand instead just disables the bits that depend on that if it isn't set. I think it's a fair amount of work, though.
Quoted 4 lines
Well I had a look and it's not that bad, unless I'm missing something else:
That's a lot easier than I expected. I'll take a look at the patch you posted.
Regards,
Hans
Quoted 155 lines
I've run some initial KernelCI tests by hand with this change, both with
CONFIG_FB=yand without:https://lava.collabora.co.uk/scheduler/job/4276515 (with
CONFIG_FB=y)
https://lava.collabora.co.uk/scheduler/job/4276493 (withoutCONFIG_FB)It builds fine and the results seem OK in both cases. If this patch looks good to you then we could have both builds also enabled on kernelci.org for the media tree, to test v4l2-compliance on vivid with and without
CONFIG_FBenabled.Best wishes,
GuillaumeQuoted 138 lines
Quoted 137 lines
The drm-tip tree is not currently covered by KernelCI, I guess it would have caught the issue before it landed in mainline. We're planning to enable it again, mainly to run IGT but it seems like some basic checks for drivers that depend on some DRM configs would be useful too. Maybe doing that on linux-next too would be useful.
Best wishes,
GuillaumeQuoted 124 lines · KernelCI bot
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the problem may be somewhere else. * * * * If you do send a fix, please include this trailer: * * Reported-by: "kernelci.org bot" <[email protected]> * * * * Hope this helps! ** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
media/master bisection: v4l2-compliance-vivid.device-presence on
qemu_x86_64Summary:
Start: e73f0f0ee754 Linux 5.14-rc1 Plain log: https://storage.kernelci.org/media/master/v5.14-rc1/x86_64/x86_64_defconfig+virtualvideo/gcc-8/lab-collabora/v4l2-compliance-vivid-qemu_x86_64.txt HTML log: https://storage.kernelci.org/media/master/v5.14-rc1/x86_64/x86_64_defconfig+virtualvideo/gcc-8/lab-collabora/v4l2-compliance-vivid-qemu_x86_64.html Result: f611b1e7624c drm: Avoid circular dependencies for CONFIG_FBChecks:
revert: PASS
verify: PASSParameters:
Tree: media URL: https://git.linuxtv.org/media_tree.git Branch: master Target: qemu_x86_64 CPU arch: x86_64 Lab: lab-collabora Compiler: gcc-8 Config: x86_64_defconfig+virtualvideo Test case: v4l2-compliance-vivid.device-presenceBreaking commit found:
-------------------------------------------------------------------------------
commitf611b1e7624ccdbd495c19e9805629e22265aa16Author: Kees Cook <[email protected]> Date: Wed Jun 2 14:52:50 2021 -0700drm: Avoid circular dependencies for
CONFIG_FBWhen cleaning up other drm config dependencies, it is too easy to create larger problems. Instead, mark
CONFIG_FBas a "depends":drivers/gpu/drm/Kconfig:74:error: recursive dependency detected!
Suggested-by Arnd Bergmann <[email protected]>Link https://lore.kernel.org/lkml/CAK8P3a3jUQs6c5tESSNMbqfuymewj9FhqRizyHcfOXf8Rgy-nA@mail.gmail.com/ open hereSigned-off-by Kees Cook <[email protected]>[danvet: Rebase, the symbol has changed.]Signed-off-by Daniel Vetter <[email protected]>drivers/gpu/drm/Kconfig +1
-2@@ -98,8 +98,8 @@ config DRM_DEBUG_DP_MST_TOPOLOGY_REFS config DRM_FBDEV_EMULATION bool "Enable legacy fbdev support for your modesetting driver" depends on DRM + depends on FB select DRM_KMS_HELPER - select FB select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT -------------------------------------------------------------------------------Git bisection log:
-------------------------------------------------------------------------------
git bisect start
# good: [50e7a31d30e8221632675abed3be306382324ca2] media: Fix Media Controller API config checks
git bisect good50e7a31d30e8221632675abed3be306382324ca2
# bad: [e73f0f0ee7541171d89f2e2491130c7771ba58d3] Linux 5.14-rc1
git bisect bade73f0f0ee7541171d89f2e2491130c7771ba58d3
# bad: [e058a84bfddc42ba356a2316f2cf1141974625c9] Merge tag 'drm-next-2021-07-01' ofgit://anongit.freedesktop.org/drm/drm
git bisect bade058a84bfddc42ba356a2316f2cf1141974625c9
# good: [a6eaf3850cb171c328a8b0db6d3c79286a1eba9d] Merge tag 'sched-urgent-2021-06-30' ofgit://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect gooda6eaf3850cb171c328a8b0db6d3c79286a1eba9d
# good: [007b312c6f294770de01fbc0643610145012d244] Merge tag 'mac80211-next-for-net-next-2021-06-25' ofgit://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
git bisect good007b312c6f294770de01fbc0643610145012d244
# good: [18703923a66aecf6f7ded0e16d22eb412ddae72f] drm/amdgpu: Fix incorrect register offsets for Sienna Cichlid
git bisect good18703923a66aecf6f7ded0e16d22eb412ddae72f
# bad: [334200bf52f0637a5ab8331c557dfcecbb9c30fa] Merge tag 'drm-msm-next-2021-06-23b' of https://gitlab.freedesktop.org/drm/msm into drm-next git bisect bad334200bf52f0637a5ab8331c557dfcecbb9c30fa
# bad: [c707b73f0cfb1acc94a20389aecde65e6385349b] Merge tag 'amd-drm-next-5.14-2021-06-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-next git bisect badc707b73f0cfb1acc94a20389aecde65e6385349b
# good: [caa18dd6dd9305d52943a6b59f410cbc960ad0a0] drm/amd/display: force CP to DESIRED when removing display
git bisect goodcaa18dd6dd9305d52943a6b59f410cbc960ad0a0
# bad: [691cf8cd7a531dbfcc29d09a23c509a86fd9b24f] drm/amdgpu: use correct rounding macro for 64-bit
git bisect bad691cf8cd7a531dbfcc29d09a23c509a86fd9b24f
# bad: [2fdcb55dfc86835e4845e3f422180b5596d23cb4] drm/amdkfd: use resource cursor insvm_migrate_copy_to_vramv2
git bisect bad2fdcb55dfc86835e4845e3f422180b5596d23cb4
# bad: [6c3f953381e526a1623d4575660afae8b19ffa20] drm/sti/sti_hqvdp: Fix incorrectly named function 'sti_hqvdp_vtg_cb()'
git bisect bad6c3f953381e526a1623d4575660afae8b19ffa20
# bad: [5ea4dba68305d9648b9dba30036cc36d4e877bca] drm/msm/a6xx: addCONFIG_QCOM_LLCCdependency
git bisect bad5ea4dba68305d9648b9dba30036cc36d4e877bca
# good: [4a888ba03fd97d1cb0253581973533965bf348c4] drm/vgem/vgem_drv: Standard comment blocks should not use kernel-doc format
git bisect good4a888ba03fd97d1cb0253581973533965bf348c4
# good: [c5ef15ae09637fb51ae43e1d1d98329d67dd4fd6] video: fbdev: atyfb:mach64_cursor.c: deleted the repeated word
git bisect goodc5ef15ae09637fb51ae43e1d1d98329d67dd4fd6
# bad: [f611b1e7624ccdbd495c19e9805629e22265aa16] drm: Avoid circular dependencies forCONFIG_FB
git bisect badf611b1e7624ccdbd495c19e9805629e22265aa16
# good: [ff323d6d72e1e4971c8ba9e2f3cf8afc48f22383] video: fbdev: mb862xx: useDEVICE_ATTR_ROmacro
git bisect goodff323d6d72e1e4971c8ba9e2f3cf8afc48f22383# first bad commit: [f611b1e7624ccdbd495c19e9805629e22265aa16] drm: Avoid circular dependencies for CONFIG_FB --------------------------------------------------------------------------------=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#13992): https://groups.io/g/kernelci-results/message/13992
Mute This Topic: https://groups.io/mt/84176294/924702
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/kernelci-results/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-