summaryrefslogtreecommitdiff
path: root/include/drm/drm_mode.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2012-08-14 10:53:38 +0000
committerDave Airlie <airlied@redhat.com>2012-08-24 09:38:31 +1000
commit22f5d115a2b087c977128f84ee557ad71530330e (patch)
tree19ef3050d451e01237e2649ecadbffc96ff7bb60 /include/drm/drm_mode.h
parentfea7a08acb13524b47711625eebea40a0ede69a0 (diff)
drm: Initialize object type when using DRM_MODE() macro
DRM_MODE() macro doesn't initialize the type of the base drm object. When a copy is made of the mode, the object type is overwritten with zero, and the the object can no longer be found by drm_mode_object_find() due to the type check failing. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_mode.h')
0 files changed, 0 insertions, 0 deletions