Skip to content

Commit

Permalink
drm/nouveau/core: move falcon class to engine/
Browse files Browse the repository at this point in the history
Not really "core" per-se.  About to merge Ilia's work adding another
similar class for the VP2 xtensa engines, so, seems like a good time to
move all these to engine/.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Jul 1, 2013
1 parent d289871 commit a0fd4ec
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 24 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ nouveau-y += core/core/engctx.o
nouveau-y += core/core/engine.o
nouveau-y += core/core/enum.o
nouveau-y += core/core/event.o
nouveau-y += core/core/falcon.o
nouveau-y += core/core/gpuobj.o
nouveau-y += core/core/handle.o
nouveau-y += core/core/mm.o
Expand Down Expand Up @@ -142,6 +141,7 @@ nouveau-y += core/subdev/vm/nv44.o
nouveau-y += core/subdev/vm/nv50.o
nouveau-y += core/subdev/vm/nvc0.o

nouveau-y += core/engine/falcon.o
nouveau-y += core/engine/dmaobj/base.o
nouveau-y += core/engine/dmaobj/nv04.o
nouveau-y += core/engine/dmaobj/nv50.o
Expand Down
3 changes: 1 addition & 2 deletions drivers/gpu/drm/nouveau/core/engine/bsp/nvc0.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
* Authors: Maarten Lankhorst
*/

#include <core/falcon.h>

#include <engine/falcon.h>
#include <engine/bsp.h>

struct nvc0_bsp_priv {
Expand Down
3 changes: 1 addition & 2 deletions drivers/gpu/drm/nouveau/core/engine/bsp/nve0.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
* Authors: Ben Skeggs
*/

#include <core/falcon.h>

#include <engine/falcon.h>
#include <engine/bsp.h>

struct nve0_bsp_priv {
Expand Down
13 changes: 7 additions & 6 deletions drivers/gpu/drm/nouveau/core/engine/copy/nva3.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,17 @@
* Authors: Ben Skeggs
*/

#include <core/client.h>
#include <core/falcon.h>
#include <core/class.h>
#include <core/enum.h>
#include <engine/falcon.h>
#include <engine/fifo.h>
#include <engine/copy.h>

#include <subdev/fb.h>
#include <subdev/vm.h>

#include <engine/fifo.h>
#include <engine/copy.h>
#include <core/client.h>
#include <core/class.h>
#include <core/enum.h>


#include "fuc/nva3.fuc.h"

Expand Down
10 changes: 6 additions & 4 deletions drivers/gpu/drm/nouveau/core/engine/copy/nvc0.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@
* Authors: Ben Skeggs
*/

#include <core/falcon.h>
#include <core/class.h>
#include <core/enum.h>

#include <engine/falcon.h>
#include <engine/fifo.h>
#include <engine/copy.h>

#include <core/class.h>
#include <core/enum.h>
#include <core/class.h>
#include <core/enum.h>

#include "fuc/nvc0.fuc.h"

struct nvc0_copy_priv {
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/core/engine/crypt/nv98.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
#include <core/enum.h>
#include <core/class.h>
#include <core/engctx.h>
#include <core/falcon.h>

#include <subdev/timer.h>
#include <subdev/fb.h>

#include <engine/falcon.h>
#include <engine/fifo.h>
#include <engine/crypt.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/

#include <core/falcon.h>

#include <engine/falcon.h>
#include <subdev/timer.h>

u32
Expand Down
3 changes: 1 addition & 2 deletions drivers/gpu/drm/nouveau/core/engine/ppp/nvc0.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
* Authors: Maarten Lankhorst
*/

#include <core/falcon.h>

#include <engine/falcon.h>
#include <engine/ppp.h>

struct nvc0_ppp_priv {
Expand Down
3 changes: 1 addition & 2 deletions drivers/gpu/drm/nouveau/core/engine/vp/nvc0.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
* Authors: Maarten Lankhorst
*/

#include <core/falcon.h>

#include <engine/falcon.h>
#include <engine/vp.h>

struct nvc0_vp_priv {
Expand Down
3 changes: 1 addition & 2 deletions drivers/gpu/drm/nouveau/core/engine/vp/nve0.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
* Authors: Ben Skeggs
*/

#include <core/falcon.h>

#include <engine/falcon.h>
#include <engine/vp.h>

struct nve0_vp_priv {
Expand Down

0 comments on commit a0fd4ec

Please sign in to comment.