drm/nouveau: port to nvif client/device/objects
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -24,8 +24,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <subdev/fb.h>
|
||||
|
||||
#include "nouveau_drm.h"
|
||||
#include "nouveau_dma.h"
|
||||
#include "nouveau_fence.h"
|
||||
@@ -696,7 +694,7 @@ nouveau_gem_ioctl_pushbuf(struct drm_device *dev, void *data,
|
||||
return -ENOMEM;
|
||||
|
||||
list_for_each_entry(temp, &abi16->channels, head) {
|
||||
if (temp->chan->handle == (NVDRM_CHAN | req->channel)) {
|
||||
if (temp->chan->object->handle == (NVDRM_CHAN | req->channel)) {
|
||||
chan = temp->chan;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user