Commit 23543b3
committed
media: videobuf2: Stop using internal dma-buf lock
All drivers that use dma-bufs have been moved to the updated locking
specification and now dma-buf reservation is guaranteed to be locked
by importers during the mapping operations. There is no need to take
the internal dma-buf lock anymore. Remove locking from the videobuf2
memory allocators.
Acked-by: Tomasz Figa <tfiga@chromium.org>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221017172229.42269-21-dmitry.osipenko@collabora.com1 parent ae2e7f2 commit 23543b3
3 files changed
Lines changed: 3 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
386 | | - | |
387 | 385 | | |
388 | 386 | | |
389 | | - | |
390 | | - | |
391 | 387 | | |
392 | 388 | | |
393 | | - | |
394 | | - | |
| 389 | + | |
395 | 390 | | |
396 | | - | |
397 | 391 | | |
398 | 392 | | |
399 | 393 | | |
| |||
409 | 403 | | |
410 | 404 | | |
411 | 405 | | |
412 | | - | |
413 | 406 | | |
414 | 407 | | |
415 | 408 | | |
416 | 409 | | |
417 | 410 | | |
418 | | - | |
419 | | - | |
420 | 411 | | |
421 | 412 | | |
422 | 413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
428 | | - | |
429 | 427 | | |
430 | 428 | | |
431 | | - | |
432 | | - | |
433 | 429 | | |
434 | 430 | | |
435 | | - | |
436 | | - | |
| 431 | + | |
437 | 432 | | |
438 | | - | |
439 | 433 | | |
440 | 434 | | |
441 | 435 | | |
| |||
446 | 440 | | |
447 | 441 | | |
448 | 442 | | |
449 | | - | |
450 | 443 | | |
451 | 444 | | |
452 | 445 | | |
453 | 446 | | |
454 | 447 | | |
455 | | - | |
456 | | - | |
457 | 448 | | |
458 | 449 | | |
459 | 450 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
271 | | - | |
272 | 270 | | |
273 | 271 | | |
274 | | - | |
275 | | - | |
276 | 272 | | |
277 | 273 | | |
278 | | - | |
279 | | - | |
| 274 | + | |
280 | 275 | | |
281 | | - | |
282 | 276 | | |
283 | 277 | | |
284 | 278 | | |
| |||
289 | 283 | | |
290 | 284 | | |
291 | 285 | | |
292 | | - | |
293 | 286 | | |
294 | 287 | | |
295 | 288 | | |
296 | 289 | | |
297 | 290 | | |
298 | | - | |
299 | | - | |
300 | 291 | | |
301 | 292 | | |
302 | 293 | | |
| |||
0 commit comments