[PATCH] drm/irq: track the irq installed in drm_irq_install in dev->irq
Thierry Reding
thierry.reding at gmail.com
Mon Dec 16 03:17:37 PST 2013
On Mon, Dec 16, 2013 at 11:29:13AM +0100, Daniel Vetter wrote:
> To get rid of the dev->bus->get_irq callback we need to pass in the
> desired irq explicitly into drm_irq_install. To avoid having to do the
> same for drm_irq_unistall just track it internally. That leaves
> drivers with less room to botch things up.
>
> v2: Add the hunk lost in an earlier patch to this one (Thierry).
>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
> drivers/gpu/drm/drm_irq.c | 18 +++++++++++-------
> include/drm/drmP.h | 2 ++
> 2 files changed, 13 insertions(+), 7 deletions(-)
Reviewed-by: Thierry Reding <treding at nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131216/9688a629/attachment.pgp>
More information about the dri-devel
mailing list