Commit b5f7242
drm/amd/display: add a quirk to enable eDP0 on DP1
[why]
some board designs have eDP0 connected to DP1, need a way to enable
support_edp0_on_dp1 flag, otherwise edp related features cannot work
[how]
do a dmi check during dm initialization to identify systems that
require support_edp0_on_dp1. Optimize quirk table with callback
functions to set quirk entries, retrieve_dmi_info can set quirks
according to quirk entries
Cc: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Yilin Chen <Yilin.Chen@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit f6d1727)
Cc: stable@vger.kernel.org1 parent e8863f8 commit b5f7242
1 file changed
Lines changed: 62 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1618 | 1618 | | |
1619 | 1619 | | |
1620 | 1620 | | |
1621 | | - | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
1622 | 1644 | | |
| 1645 | + | |
1623 | 1646 | | |
1624 | 1647 | | |
1625 | 1648 | | |
1626 | 1649 | | |
1627 | 1650 | | |
1628 | 1651 | | |
| 1652 | + | |
1629 | 1653 | | |
1630 | 1654 | | |
1631 | 1655 | | |
1632 | 1656 | | |
1633 | 1657 | | |
1634 | 1658 | | |
| 1659 | + | |
1635 | 1660 | | |
1636 | 1661 | | |
1637 | 1662 | | |
1638 | 1663 | | |
1639 | 1664 | | |
1640 | 1665 | | |
| 1666 | + | |
1641 | 1667 | | |
1642 | 1668 | | |
1643 | 1669 | | |
1644 | 1670 | | |
1645 | 1671 | | |
1646 | 1672 | | |
| 1673 | + | |
1647 | 1674 | | |
1648 | 1675 | | |
1649 | 1676 | | |
1650 | 1677 | | |
1651 | 1678 | | |
1652 | 1679 | | |
| 1680 | + | |
1653 | 1681 | | |
1654 | 1682 | | |
1655 | 1683 | | |
1656 | 1684 | | |
1657 | 1685 | | |
1658 | 1686 | | |
| 1687 | + | |
1659 | 1688 | | |
1660 | 1689 | | |
1661 | 1690 | | |
1662 | 1691 | | |
1663 | 1692 | | |
1664 | 1693 | | |
| 1694 | + | |
1665 | 1695 | | |
1666 | 1696 | | |
1667 | 1697 | | |
1668 | 1698 | | |
1669 | 1699 | | |
1670 | 1700 | | |
| 1701 | + | |
1671 | 1702 | | |
1672 | 1703 | | |
1673 | 1704 | | |
1674 | 1705 | | |
1675 | 1706 | | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
1676 | 1721 | | |
1677 | 1722 | | |
1678 | 1723 | | |
1679 | 1724 | | |
1680 | | - | |
| 1725 | + | |
1681 | 1726 | | |
1682 | | - | |
| 1727 | + | |
| 1728 | + | |
1683 | 1729 | | |
1684 | 1730 | | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
1685 | 1734 | | |
1686 | | - | |
1687 | | - | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
1688 | 1739 | | |
1689 | | - | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
1690 | 1745 | | |
1691 | 1746 | | |
1692 | 1747 | | |
| |||
1994 | 2049 | | |
1995 | 2050 | | |
1996 | 2051 | | |
1997 | | - | |
| 2052 | + | |
1998 | 2053 | | |
1999 | 2054 | | |
2000 | 2055 | | |
| |||
0 commit comments