drm/nouveau: missing cases of rename ttm_mem_reg to ttm_resource.
Subsystems (3)
PATCH 1/1 drm/nouveau: missing cases of rename ttm_mem_reg to ttm_resource.
From: Rodrigo Vivi <[email protected]>
These are missed cases that I just identified with allyesconfig build.
--- drivers/gpu/drm/nouveau/nouveau_bo.h | 14 +++++++------- drivers/gpu/drm/nouveau/nouveau_bo0039.c | 4 ++-- drivers/gpu/drm/nouveau/nouveau_bo5039.c | 2 +- drivers/gpu/drm/nouveau/nouveau_bo74c1.c | 2 +- drivers/gpu/drm/nouveau/nouveau_bo85b5.c | 2 +- drivers/gpu/drm/nouveau/nouveau_bo9039.c | 2 +- drivers/gpu/drm/nouveau/nouveau_bo90b5.c | 2 +- drivers/gpu/drm/nouveau/nouveau_boa0b5.c | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-)
drivers/gpu/drm/nouveau/nouveau_bo.h +7 -7
@@ -139,28 +139,28 @@ nouveau_bo_new_pin_map(struct nouveau_cli *cli, u64 size, int align, u32 flags,int nv04_bo_move_init (struct nouveau_channel *,u32 );int nv04_bo_move_m2mf (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);int nv50_bo_move_init (struct nouveau_channel *,u32 );int nv50_bo_move_m2mf (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);int nv84_bo_move_exec (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);int nva3_bo_move_copy (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);int nvc0_bo_move_init (struct nouveau_channel *,u32 );int nvc0_bo_move_m2mf (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);int nvc0_bo_move_copy (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);int nve0_bo_move_init (struct nouveau_channel *,u32 );int nve0_bo_move_copy (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);#define NVBO_WR32_ (b,o,dr,f) nouveau_bo_wr32((b), (o)/4 + (dr), (f))#define NVBO_RD32_ (b,o,dr) nouveau_bo_rd32((b), (o)/4 + (dr))
drivers/gpu/drm/nouveau/nouveau_bo0039.c +2 -2
@@ -36,7 +36,7 @@static inline uint32_t nouveau_bo_mem_ctxdma (struct ttm_buffer_object *bo, -struct nouveau_channel *chan,struct ttm_mem_reg *reg) +struct nouveau_channel *chan,struct ttm_resource *reg) {if (reg->mem_type ==TTM_PL_TT )return NvDmaTT;
@@ -45,7 +45,7 @@ nouveau_bo_mem_ctxdma(struct ttm_buffer_object *bo,int nv04_bo_move_m2mf (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nvif_push *push = chan->chan.push;u32 src_ctxdma =nouveau_bo_mem_ctxdma (bo, chan, old_reg);
drivers/gpu/drm/nouveau/nouveau_bo5039.c +1 -1
@@ -37,7 +37,7 @@int nv50_bo_move_m2mf (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nouveau_mem *mem =nouveau_mem (old_reg);struct nvif_push *push = chan->chan.push;
drivers/gpu/drm/nouveau/nouveau_bo74c1.c +1 -1
@@ -34,7 +34,7 @@int nv84_bo_move_exec (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nouveau_mem *mem =nouveau_mem (old_reg);struct nvif_push *push = chan->chan.push;
drivers/gpu/drm/nouveau/nouveau_bo85b5.c +1 -1
@@ -38,7 +38,7 @@int nva3_bo_move_copy (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nouveau_mem *mem =nouveau_mem (old_reg);struct nvif_push *push = chan->chan.push;
drivers/gpu/drm/nouveau/nouveau_bo9039.c +1 -1
@@ -36,7 +36,7 @@int nvc0_bo_move_m2mf (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nvif_push *push = chan->chan.push;struct nouveau_mem *mem =nouveau_mem (old_reg);
drivers/gpu/drm/nouveau/nouveau_bo90b5.c +1 -1
@@ -31,7 +31,7 @@int nvc0_bo_move_copy (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nouveau_mem *mem =nouveau_mem (old_reg);struct nvif_push *push = chan->chan.push;
drivers/gpu/drm/nouveau/nouveau_boa0b5.c +1 -1
@@ -36,7 +36,7 @@int nve0_bo_move_copy (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nouveau_mem *mem =nouveau_mem (old_reg);struct nvif_push *push = chan->chan.push;
Signature · 6 lines
2.26.2 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Dave Airlie
maintainerQuoted 5 lines · Rodrigo Vivi
From: Rodrigo Vivi <[email protected]>
These are missed cases that I just identified with allyesconfig build.
Is this against drm-tip? it's a merge problem, that I thought I'd already addressed, but tip seems to have lost it.
Dave.
Quoted 162 lines
Fixes 2966141ad2dd ("drm/ttm: rename ttm_mem_reg to ttm_resource.")Cc Dave Airlie <[email protected]>Cc Ben Skeggs <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>--- drivers/gpu/drm/nouveau/nouveau_bo.h | 14 +++++++------- drivers/gpu/drm/nouveau/nouveau_bo0039.c | 4 ++-- drivers/gpu/drm/nouveau/nouveau_bo5039.c | 2 +- drivers/gpu/drm/nouveau/nouveau_bo74c1.c | 2 +- drivers/gpu/drm/nouveau/nouveau_bo85b5.c | 2 +- drivers/gpu/drm/nouveau/nouveau_bo9039.c | 2 +- drivers/gpu/drm/nouveau/nouveau_bo90b5.c | 2 +- drivers/gpu/drm/nouveau/nouveau_boa0b5.c | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-)drivers/gpu/drm/nouveau/nouveau_bo.h +7
-7@@ -139,28 +139,28 @@ nouveau_bo_new_pin_map(struct nouveau_cli *cli, u64 size, int align, u32 flags,int nv04_bo_move_init (struct nouveau_channel *,u32 );int nv04_bo_move_m2mf (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);int nv50_bo_move_init (struct nouveau_channel *,u32 );int nv50_bo_move_m2mf (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);int nv84_bo_move_exec (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);int nva3_bo_move_copy (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);int nvc0_bo_move_init (struct nouveau_channel *,u32 );int nvc0_bo_move_m2mf (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);int nvc0_bo_move_copy (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);int nve0_bo_move_init (struct nouveau_channel *,u32 );int nve0_bo_move_copy (struct nouveau_channel *,struct ttm_buffer_object *, -struct ttm_mem_reg *,struct ttm_mem_reg *); +struct ttm_resource *,struct ttm_resource *);#define NVBO_WR32_ (b,o,dr,f) nouveau_bo_wr32((b), (o)/4 + (dr), (f))#define NVBO_RD32_ (b,o,dr) nouveau_bo_rd32((b), (o)/4 + (dr))drivers/gpu/drm/nouveau/nouveau_bo0039.c +2
-2@@ -36,7 +36,7 @@static inline uint32_t nouveau_bo_mem_ctxdma (struct ttm_buffer_object *bo, -struct nouveau_channel *chan,struct ttm_mem_reg *reg) +struct nouveau_channel *chan,struct ttm_resource *reg) {if (reg->mem_type ==TTM_PL_TT )return NvDmaTT;@@ -45,7 +45,7 @@ nouveau_bo_mem_ctxdma(struct ttm_buffer_object *bo,int nv04_bo_move_m2mf (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nvif_push *push = chan->chan.push;u32 src_ctxdma =nouveau_bo_mem_ctxdma (bo, chan, old_reg);drivers/gpu/drm/nouveau/nouveau_bo5039.c +1
-1@@ -37,7 +37,7 @@int nv50_bo_move_m2mf (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nouveau_mem *mem =nouveau_mem (old_reg);struct nvif_push *push = chan->chan.push;drivers/gpu/drm/nouveau/nouveau_bo74c1.c +1
-1@@ -34,7 +34,7 @@int nv84_bo_move_exec (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nouveau_mem *mem =nouveau_mem (old_reg);struct nvif_push *push = chan->chan.push;drivers/gpu/drm/nouveau/nouveau_bo85b5.c +1
-1@@ -38,7 +38,7 @@int nva3_bo_move_copy (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nouveau_mem *mem =nouveau_mem (old_reg);struct nvif_push *push = chan->chan.push;drivers/gpu/drm/nouveau/nouveau_bo9039.c +1
-1@@ -36,7 +36,7 @@int nvc0_bo_move_m2mf (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nvif_push *push = chan->chan.push;struct nouveau_mem *mem =nouveau_mem (old_reg);drivers/gpu/drm/nouveau/nouveau_bo90b5.c +1
-1@@ -31,7 +31,7 @@int nvc0_bo_move_copy (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nouveau_mem *mem =nouveau_mem (old_reg);struct nvif_push *push = chan->chan.push;drivers/gpu/drm/nouveau/nouveau_boa0b5.c +1
-2@@ -36,7 +36,7 @@int nve0_bo_move_copy (struct nouveau_channel *chan,struct ttm_buffer_object *bo, -struct ttm_mem_reg *old_reg,struct ttm_mem_reg *new_reg) +struct ttm_resource *old_reg,struct ttm_resource *new_reg) {struct nouveau_mem *mem =nouveau_mem (old_reg);struct nvif_push *push = chan->chan.push; --2.26.2
_______________________________________________
Nouveau mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
Dave Airlie
maintainerQuoted 10 lines · Dave Airlie
Quoted 5 lines · Rodrigo Vivi
From: Rodrigo Vivi <[email protected]>
These are missed cases that I just identified with allyesconfig build.
Is this against drm-tip? it's a merge problem, that I thought I'd already addressed, but tip seems to have lost it.
I think I've fixed drm-tip rebuilds now.
Dave.
Quoted 10 lines · Dave Airlie
Quoted 5 lines · Dave Airlie
Quoted 3 lines · Rodrigo Vivi
From: Rodrigo Vivi <[email protected]>
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
These are missed cases that I just identified with allyesconfig build.
Is this against drm-tip? it's a merge problem, that I thought I'd already addressed, but tip seems to have lost it.
I think I've fixed drm-tip rebuilds now.
perfect, thanks!
Quoted 2 lines
Dave.