commit | df12c6d5ec9b88fc45c672b77dac015327dd8497 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Jun 19 16:52:30 2012 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Jun 20 11:15:37 2012 +0200 |
tree | af9c859549840b8c5fc8b8f9e9a2ca991040212e | |
parent | 55a6662837a5efe48c836bfc3570ace348f3db09 [diff] |
drm/i915: initialize the context idr unconditionally It doesn't hurt and it at least prevents us from OOPSing left and right at quite a few places. This also allows us to simplify the code a bit by folding the only line of context_open into the callsite. We obviuosly also need to run the cleanup code unconditionally, too. Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>