All of lore.kernel.org
 help / color / mirror / Atom feed
* new userspace API approaches atomic *
@ 2012-12-13 21:13 Dave Airlie
  2012-12-13 21:26 ` Rob Clark
  2012-12-14 13:49 ` Ville Syrjälä
  0 siblings, 2 replies; 7+ messages in thread
From: Dave Airlie @ 2012-12-13 21:13 UTC (permalink / raw)
  To: dri-devel

So this is a how to get new features pronouncement,

>From what I can see people would like to have atomic interfaces for
pageflip and modesetting merged,

Now how I think developing and merging these will work (i.e. do it
this way or don't bother)

a) get an API you are happy with working, it doesn't need to be perfect

b) rework the internal drm core/driver APIs for all drivers to allow
this new interface to be used. Remove
the old internal apis and create an interface layer between the old
userspace interface and the new API.

c) throw away (a)

d) reimplement a userspace API on top of the new internal driver API
fixing all the things you have learned,
were crazy, insane, nuts etc.

e) have a lot of tests.

f) get b merged standalone, transition phase is fine, but every driver
needs to be ported before the API
goes in.

g) throw away d

h) write final API and get it merged.

Yes this is probably more work than you or your manager is willing to
buy in, but then maybe the feature isn't that important.

Dave.

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

end of thread, other threads:[~2012-12-16 19:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13 21:13 new userspace API approaches atomic * Dave Airlie
2012-12-13 21:26 ` Rob Clark
2012-12-14 13:49 ` Ville Syrjälä
2012-12-16  6:04   ` Dave Airlie
2012-12-16 11:11     ` Daniel Vetter
2012-12-16 18:51       ` Ville Syrjälä
2012-12-16 19:43     ` 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.