commit | 6c1689a08cf54e58c19eb565528a293f36f731be | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Mon Oct 08 12:58:23 2012 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Thu Nov 29 09:56:38 2012 +1000 |
tree | 53ecbfa8324e13c7a7af4373d2914cf5c90c9d15 | |
parent | f86770aaaa9a4d9cc68c8a9adc351ab7f47e6345 [diff] |
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: Ben Skeggs <bskeggs@redhat.com>