summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-07-03 08:05:51 +1000
committerDave Airlie <airlied@linux.ie>2008-07-03 08:06:44 +1000
commit59a9a756e238dd73f3051434545b2d3bf225da87 (patch)
treec118bd8a34ee30a3522439a882f25e1f9a4db51f
parentaa2d3cfc168481b7637d935af990ce447012ebfe (diff)
modesetting: lookup blob using correct identifier.
blob is a blob not a connector
-rw-r--r--linux-core/drm_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index 23ae7d83..c20dacd8 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -1926,7 +1926,7 @@ int drm_mode_getblob_ioctl(struct drm_device *dev,
void *blob_ptr;
mutex_lock(&dev->mode_config.mutex);
- obj = drm_mode_object_find(dev, out_resp->blob_id, DRM_MODE_OBJECT_CONNECTOR);
+ obj = drm_mode_object_find(dev, out_resp->blob_id, DRM_MODE_OBJECT_BLOB);
if (!obj) {
ret = -EINVAL;
goto done;