Commit 9545c91
drm/vc4: convert to devm_drm_bridge_alloc() API
This is the new API for allocating DRM bridges.
This driver already implements refcounting of the struct vc4_dsi, which
embeds struct drm_bridge. Now this is a duplicate of the refcounting
implemented by the DRM bridge core, so convert the vc4_dsi_get/put() calls
into drm_bridge_get/put() calls and get rid of the driver-specific
refcounting implementation.
Signed-off-by: Luca Ceresoli <[email protected]>
Acked-by: Dave Stevenson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20250424-drm-bridge-convert-to-alloc-api-v2-27-8f91a404d86b@bootlin.com
Signed-off-by: Louis Chauvet <[email protected]>1 parent e11532b commit 9545c91
1 file changed
+5
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | | - | |
556 | | - | |
557 | 555 | | |
558 | 556 | | |
559 | 557 | | |
| |||
1622 | 1620 | | |
1623 | 1621 | | |
1624 | 1622 | | |
1625 | | - | |
1626 | | - | |
1627 | | - | |
1628 | | - | |
1629 | | - | |
1630 | | - | |
1631 | | - | |
1632 | | - | |
1633 | | - | |
1634 | | - | |
1635 | | - | |
1636 | | - | |
1637 | | - | |
1638 | | - | |
1639 | | - | |
1640 | | - | |
1641 | | - | |
1642 | | - | |
1643 | 1623 | | |
1644 | 1624 | | |
1645 | 1625 | | |
1646 | 1626 | | |
1647 | | - | |
| 1627 | + | |
1648 | 1628 | | |
1649 | 1629 | | |
1650 | 1630 | | |
| |||
1655 | 1635 | | |
1656 | 1636 | | |
1657 | 1637 | | |
1658 | | - | |
| 1638 | + | |
1659 | 1639 | | |
1660 | 1640 | | |
1661 | 1641 | | |
| |||
1810 | 1790 | | |
1811 | 1791 | | |
1812 | 1792 | | |
1813 | | - | |
1814 | | - | |
1815 | | - | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
1816 | 1796 | | |
1817 | 1797 | | |
1818 | | - | |
1819 | | - | |
1820 | 1798 | | |
1821 | | - | |
1822 | 1799 | | |
1823 | 1800 | | |
1824 | 1801 | | |
| |||
1836 | 1813 | | |
1837 | 1814 | | |
1838 | 1815 | | |
1839 | | - | |
1840 | 1816 | | |
1841 | 1817 | | |
1842 | 1818 | | |
| |||
0 commit comments