Skip to content
Commit 6c1689a0 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/dmaobj: move parent class check to bind() method



Otherwise when nvc0- gains a bind() method (disp needs it), the fifo
engine will attempt to create a dma object for the push buffer, which
is unnecessary on fermi.

The only sane place to put these checks is in the bind method itself,
and have it unconditionally called from wherever it might be needed.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent f86770aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment