[PATCH 12/13] drm/irq: Expel legacy API

2014-12-16 Thread Daniel Vetter
On Tue, Dec 16, 2014 at 06:59:28PM +0100, Daniel Vetter wrote: > On Tue, Dec 16, 2014 at 05:53:34PM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > These legacy functions all operate on the struct drm_device * and an > > index to the CRTC that they should access. This is bad because

[PATCH 12/13] drm/irq: Expel legacy API

2014-12-16 Thread Daniel Vetter
On Tue, Dec 16, 2014 at 05:53:34PM +0100, Thierry Reding wrote: > From: Thierry Reding > > These legacy functions all operate on the struct drm_device * and an > index to the CRTC that they should access. This is bad because it > requires keeping track of a global data structures to resolve the i

[PATCH 12/13] drm/irq: Expel legacy API

2014-12-16 Thread Thierry Reding
From: Thierry Reding These legacy functions all operate on the struct drm_device * and an index to the CRTC that they should access. This is bad because it requires keeping track of a global data structures to resolve the index to CRTC object lookup. In order to get rid of this global data new AP