diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-09-04 06:40:32 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-11-03 06:02:18 +0100 |
commit | fcf3f91c34105c3551741febbfc1066aaa7f1db7 (patch) | |
tree | 9af90412b12a5b04f976132e0ecb5d45ef02b7cd /drivers/gpu/drm/nouveau/nouveau_display.c | |
parent | drm/nouveau/ltc/gf100: add flush/invalidate functions (diff) | |
download | linux-fcf3f91c34105c3551741febbfc1066aaa7f1db7.tar.xz linux-fcf3f91c34105c3551741febbfc1066aaa7f1db7.zip |
drm/nouveau: remove unnecessary usage of object handles
No longer required in a lot of cases, as objects are identified over NVIF
via an alternate mechanism since the rework.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_display.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_display.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index 614b32e6381c..db6bc6760545 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c @@ -509,9 +509,8 @@ nouveau_display_create(struct drm_device *dev) int i; for (i = 0, ret = -ENODEV; ret && i < ARRAY_SIZE(oclass); i++) { - ret = nvif_object_init(&drm->device.object, - NVDRM_DISPLAY, oclass[i], - NULL, 0, &disp->disp); + ret = nvif_object_init(&drm->device.object, 0, + oclass[i], NULL, 0, &disp->disp); } if (ret == 0) { |