Opened 21 months ago

Last modified 9 months 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:
Has a Patch: no 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 21 months ago.
Vivek's drm_1 branch
vivek-gsoc2017-drm-squash.diff (235.0 KB) - added by kallisti5 21 months ago.
Vivek's drm branch

Download all attachments as: .zip

Change History (6)

Changed 21 months ago by kallisti5

Vivek's drm_1 branch

comment:1 Changed 21 months ago by kallisti5

Has a Patch: set

Changed 21 months ago by kallisti5

Vivek's drm branch

comment:2 Changed 16 months ago by pulkomandy

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 Changed 9 months ago by pulkomandy

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 Changed 9 months ago by pulkomandy

Has a Patch: unset
Note: See TracTickets for help on using tickets.