logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

drm_edid.patch (930B)


  1. SPDX-FileCopyrightText: 2024 Gábor Stefanik <netrolller.3d@gmail.com>
  2. SPDX-License-Identifier: GPL-2.0-only
  3. Remove BUILD_BUG_ON check as it causes a link error
  4. --- linux-4.14.336/drivers/gpu/drm/drm_edid.c.bak 2024-02-16 08:36:01.168832650 +0100
  5. +++ linux-4.14.336/drivers/gpu/drm/drm_edid.c 2024-02-16 08:36:58.148828524 +0100
  6. @@ -2879,15 +2879,6 @@
  7. * get the other variants by simply increasing the
  8. * vertical front porch length.
  9. */
  10. - BUILD_BUG_ON(edid_cea_modes[8].vtotal != 262 ||
  11. - edid_cea_modes[9].vtotal != 262 ||
  12. - edid_cea_modes[12].vtotal != 262 ||
  13. - edid_cea_modes[13].vtotal != 262 ||
  14. - edid_cea_modes[23].vtotal != 312 ||
  15. - edid_cea_modes[24].vtotal != 312 ||
  16. - edid_cea_modes[27].vtotal != 312 ||
  17. - edid_cea_modes[28].vtotal != 312);
  18. -
  19. if (((vic == 8 || vic == 9 ||
  20. vic == 12 || vic == 13) && mode->vtotal < 263) ||
  21. ((vic == 23 || vic == 24 ||