Opened 7 years ago

Last modified 6 years ago

#13665 new task

Investigate porting DRM via linux compatibility headers

Reported by: kallisti5 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/Graphics Version: R1/Development
Keywords: gsoc2017 drm 3d Cc:
Blocked By: Blocking:
Platform: All

Description

In GSOC 2017, Student Vivek attempted to port the needed linux compatibility headers to get DRM functional with minimal changes.

While the GSOC project wasn't completed successfully, some work was done. This ticket is to track what work was done by the student, and to help future analysis of the feasibility of simply wrapping DRM with the needed compatibility libraries.

Vivek had two branches:

  • drm_1 -- early branch, more linux headers copied over
  • drm -- later branch, fewer compatibility libraries but looks more refined.

The branches contain a lot of smaller commits. I've squashed them into a single patch each and am attaching them here.

Attachments (2)

vivek-gsoc2017-drm_1-squash.diff (307.0 KB ) - added by kallisti5 7 years ago.
Vivek's drm_1 branch
vivek-gsoc2017-drm-squash.diff (235.0 KB ) - added by kallisti5 7 years ago.
Vivek's drm branch

Download all attachments as: .zip

Change History (6)

by kallisti5, 7 years ago

Vivek's drm_1 branch

comment:1 by kallisti5, 7 years ago

patch: 01

by kallisti5, 7 years ago

Vivek's drm branch

comment:2 by pulkomandy, 6 years ago

drm_1 seems to be at least partly based on https://github.com/hamishm/haiku-drm/commits/drm which seems to be doing things in a sane way (trying to use as much of existing Haiku features as possible). I think any future attempt to port DRM should start from there.

Also, the patches you attached are not in git format, which makes them unpractical, and don't apply cleanly already (as they move a lot of files around, this was to be expected).

comment:3 by pulkomandy, 6 years ago

I rebased Hamish's changes and submitted https://review.haiku-os.org/430 to https://review.haiku-os.org/436 . I'm marking Vivek's patches as obsolete as I don't think there is much more to salvage from them in this format.

comment:4 by pulkomandy, 6 years ago

patch: 10
Note: See TracTickets for help on using tickets.