commit | bf89209a6de37074e3ccdb7b40500798de750698 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Jul 09 23:32:39 2015 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Aug 10 13:37:20 2015 +0200 |
tree | c375d6fe25018e6bd8dca172805821445899787f | |
parent | 34c294f5a6c0dca7fb75ddc1be3ec8974b24455f [diff] |
drm/mga200g: Hold a proper reference for cursor_set Looking up an obj, immediate dropping the acquired reference and then continuing to use it isn't how this is supposed to work. Fix this by holding a reference for the entire function. While at it stop grabbing dev->struct_mutex, it doesn't protect anything here. Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>