diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-06-03 16:10:41 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-06-11 08:47:32 +1000 |
commit | a5d0f5766f2e9cb04f0f775bf679d41ae1a54d50 (patch) | |
tree | 9d63e60e9999ce3c7f3e4473afd50b483f8f8a70 /drivers/gpu/drm/drm_edid.c | |
parent | ad6f5c343364e52a49b6a0a9153bda7f0e101416 (diff) | |
download | op-kernel-dev-a5d0f5766f2e9cb04f0f775bf679d41ae1a54d50.zip op-kernel-dev-a5d0f5766f2e9cb04f0f775bf679d41ae1a54d50.tar.gz |
drm/vmwgfx: Don't access file_priv in cursor_set when handle==0
We want to disable the cursor by calling ->cursor_set() with handle=0
from places where we don't have a file_priv, so don't try to access it
unless necessary.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_edid.c')
0 files changed, 0 insertions, 0 deletions