Bug 245730 - graphics/drm-fbsd11.2-kmod - EDID fails due to i2c error
Summary: graphics/drm-fbsd11.2-kmod - EDID fails due to i2c error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-18 21:46 UTC by crahman
Modified: 2020-04-20 20:34 UTC (History)
2 users (show)

See Also:
linimon: maintainer-feedback? (x11)


Attachments
Patch to fix the drm-fbsd11.2-kmod port (304 bytes, text/plain)
2020-04-18 21:46 UTC, crahman
no flags Details
drm-fbsd11.2-kmod update (1.23 KB, patch)
2020-04-20 16:09 UTC, Niclas Zeising
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description crahman 2020-04-18 21:46:17 UTC
Created attachment 213551 [details]
Patch to fix the drm-fbsd11.2-kmod port

The failure of EDID makes it impossible to use this code with 11-STABLE and the AMD RV670 I am currently using.  The patch referenced here:

https://github.com/FreeBSDDesktop/kms-drm/pull/51/commits/5dd56174b9de5d564785c5841b1fc1f309d6e0cd

fixes the problem.  It looks as if this patch has been incorporated into the drm-fbsd12.0-kmod port.

I'll attach a patch for the files directory for completeness.

Thanks
Comment 1 Niclas Zeising freebsd_committer freebsd_triage 2020-04-20 16:09:55 UTC
Created attachment 213607 [details]
drm-fbsd11.2-kmod update

I picked that change into the 4.11-fbsd11.2 branch upstream, and updated the port locally.  Can you try this?
Comment 2 crahman 2020-04-20 19:09:31 UTC
I've tried your update and it is working correctly.  Thanks.
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-04-20 20:30:00 UTC
A commit references this bug:

Author: zeising
Date: Mon Apr 20 20:29:28 UTC 2020
New revision: 532232
URL: https://svnweb.freebsd.org/changeset/ports/532232

Log:
  graphics/drm-fbsd11.2-kmod: Update snapshot

  Update the snapshot of graphics/drm-fbsd11.2-kmod.
  This update only pulls in a change to fix isses with EDID data.

  PR:		245730
  Reported by:	crahman@gmail.com
  MFH:		2020Q2 (implicit, drm-drivers blanket)

Changes:
  head/graphics/drm-fbsd11.2-kmod/Makefile
  head/graphics/drm-fbsd11.2-kmod/distinfo
Comment 4 commit-hook freebsd_committer freebsd_triage 2020-04-20 20:32:01 UTC
A commit references this bug:

Author: zeising
Date: Mon Apr 20 20:31:15 UTC 2020
New revision: 532233
URL: https://svnweb.freebsd.org/changeset/ports/532233

Log:
  MFH: r532232

  graphics/drm-fbsd11.2-kmod: Update snapshot

  Update the snapshot of graphics/drm-fbsd11.2-kmod.
  This update only pulls in a change to fix isses with EDID data.

  PR:		245730
  Reported by:	crahman@gmail.com

  Approved by:	ports-secteam (implicit, drm-drivers blanket)

Changes:
_U  branches/2020Q2/
  branches/2020Q2/graphics/drm-fbsd11.2-kmod/Makefile
  branches/2020Q2/graphics/drm-fbsd11.2-kmod/distinfo
Comment 5 Niclas Zeising freebsd_committer freebsd_triage 2020-04-20 20:34:19 UTC
Committed to ports and merged to quarterly branch.

Thanks for pointing out the issue and for the help with testing!