summaryrefslogtreecommitdiff
path: root/test/ipa/ipa_interface_test.cpp
diff options
context:
space:
mode:
authorEric Curtin <ecurtin@redhat.com>2022-06-17 11:00:44 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-19 00:02:47 +0300
commit7f500a6c366a16fedfaba8bf67b147ccc8239eb7 (patch)
treef687c4e11f2fcd5ce5fbea95081f7297c3a64d17 /test/ipa/ipa_interface_test.cpp
parent4bb284e0fa5669bbf6adda93e2f770014834c8cb (diff)
cam: drm: Support /dev/dri cards other than 0
Existing code is hardcoded to card0. Since recent fedora upgrades, we have noticed on more than one machine that card1 is present as the lowest numbered device, could theoretically be higher. This technique tries every file starting with card and continue only when we have successfully opened one. These devices with card1 as the lowest device were simply failing when they do not see a /dev/dri/card0 file present. Reported-by: Ian Mullins <imullins@redhat.com> Tested-by: Ian Mullins <imullins@redhat.com> Signed-off-by: Eric Curtin <ecurtin@redhat.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/ipa/ipa_interface_test.cpp')
0 files changed, 0 insertions, 0 deletions
>120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184