All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Revive the work on render-nodes branch
@ 2012-03-29 16:41 Ilija Hadzic
  2012-03-29 16:41 ` [PATCH 01/16] drm: do not push inode down into drm_open_helper Ilija Hadzic
                   ` (16 more replies)
  0 siblings, 17 replies; 21+ messages in thread
From: Ilija Hadzic @ 2012-03-29 16:41 UTC (permalink / raw)
  To: dri-devel

The following set of patches will revive the drm-render-nodes [1]
branch that has been dormant in Dave Airlie's repository for some
time. I rebased this branch to the latest drm-core-next and did some
(hopefully useful) follow-up work.

I fixed a few bugs, did a substantial cleanup, separated the
experimental hard-coded stuff from general stuff and implemented
all kinds of checks and protections from any ugly stuff that
user space can send. I also have libdrm patches as well as a small
test-utility program that can be used to create and remove render
nodes from user space. I will send these in the next patch series.

There is still more work to be done, and a few weird behaviors to
track down, but with these patches, I am able to create and remove
render nodes and bring up independent seats on each.

The following are the details of the patch series:

* The first three patches (0001-0003) are direct derivative of
  original drm-render-nodes work. Originally, there was one patch
  that included multiple logical changes, as well as the test-only
  temporary code. I cleaned that up and broke up the original
  patch into three separate ones, that appeared logical units to me.
  Acknowledgment: Because of the rework (i.e. split into three), these
  three patches carry my name in the author field, but they are really
  Dave's work.

  * Patch 0004 adds ioctls for manipulating render nodes and is almost
    a verbatim copy of original Dave's patch. I tried to keep it as
    intact as possible.

  * Patches 0005 (prep) and 0006 (real thing) are my follow-up to
    ioctl work. They fix bugs I found in 0004 and provide a general
    cleanup.

  * Remaining patches are the the follow-up work on render nodes
    in general. Some are addressing TODO items listed in [1],
    and some are from my own TODO.

At this time, I'd like to solicit comments and feedback and I'll
be glad to rework the patches based on the feedback I receive.
Note that although the patches are meant to work on any GPU,
I have only tested this with Radeon hardware. If someone runs
this with other hardware, I would be very interested in hearing
about the result. Also, I have only tested this for multiseat-X
use case. If someone tries this for GPGPU use case, I'd appreciate
the feedback.

regards,
-- Ilija

----
[1] http://airlied.livejournal.com/72187.html

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2012-03-29 17:53 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-29 16:41 [RFC] Revive the work on render-nodes branch Ilija Hadzic
2012-03-29 16:41 ` [PATCH 01/16] drm: do not push inode down into drm_open_helper Ilija Hadzic
2012-03-29 16:41 ` [PATCH 02/16] drm: move dev_mapping to the minor node Ilija Hadzic
2012-03-29 16:41 ` [PATCH 03/16] drm: add support for render nodes Ilija Hadzic
2012-03-29 16:41 ` [PATCH 04/16] drm: initial multiple nodes ioctl work Ilija Hadzic
2012-03-29 17:15   ` Ville Syrjälä
2012-03-29 17:22     ` Ilija Hadzic
2012-03-29 18:01       ` Ville Syrjälä
2012-03-29 16:41 ` [PATCH 05/16] drm: separate render node descriptor from minor Ilija Hadzic
2012-03-29 16:41 ` [PATCH 06/16] drm: cleanup render node ioctls Ilija Hadzic
2012-03-29 16:41 ` [PATCH 07/16] drm: only allow render node ioctls through control node Ilija Hadzic
2012-03-29 16:41 ` [PATCH 08/16] drm: do not remove a render node in use Ilija Hadzic
2012-03-29 16:41 ` [PATCH 09/16] drm: allocate correct id_list size for a render node Ilija Hadzic
2012-03-29 16:41 ` [PATCH 10/16] drm: add drm_mode_group_fini function Ilija Hadzic
2012-03-29 16:41 ` [PATCH 11/16] drm: properly free id_list when a render node is removed Ilija Hadzic
2012-03-29 16:41 ` [PATCH 12/16] drm: call drm_mode_group_fini on primary node Ilija Hadzic
2012-03-29 16:41 ` [PATCH 13/16] drm: more elaborate check for num_crtc/encoder/connector Ilija Hadzic
2012-03-29 16:41 ` [PATCH 14/16] drm: validate id list when creating a render node Ilija Hadzic
2012-03-29 16:41 ` [PATCH 15/16] drm: keep track of which node holds which resource Ilija Hadzic
2012-03-29 16:41 ` [PATCH 16/16] drm: hold mutex in critical sections of render-node code Ilija Hadzic
2012-03-29 17:16 ` [RFC] Revive the work on render-nodes branch Ville Syrjälä

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.