Skip to content

Commit

Permalink
drm/nvd0/disp: remove fetching of capabilities report
Browse files Browse the repository at this point in the history
Unused, and caused a race with evo_sync().  Will revisit using it properly
later on.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Nov 28, 2012
1 parent 63718a0 commit 647bf61
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions drivers/gpu/drm/nouveau/nvd0_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -1863,14 +1863,8 @@ nvd0_display_init(struct drm_device *dev)
if (push) {
evo_mthd(push, 0x0088, 1);
evo_data(push, NvEvoSync);
evo_mthd(push, 0x0084, 1);
evo_data(push, 0x00000000);
evo_mthd(push, 0x0084, 1);
evo_data(push, 0x80000000);
evo_mthd(push, 0x008c, 1);
evo_data(push, 0x00000000);
evo_kick(push, nvd0_mast(dev));
return 0;
return evo_sync(dev);
}

return -EBUSY;
Expand Down

0 comments on commit 647bf61

Please sign in to comment.