Loading drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c +3 −2 Original line number Diff line number Diff line Loading @@ -62,13 +62,14 @@ gk104_ce_cclass = { static void gk104_ce_intr(struct nvkm_subdev *subdev) { struct nvkm_device *device = subdev->device; const int idx = nv_subidx(subdev) - NVDEV_ENGINE_CE0; struct nvkm_engine *ce = (void *)subdev; u32 stat = nv_rd32(ce, 0x104908 + (idx * 0x1000)); u32 stat = nvkm_rd32(device, 0x104908 + (idx * 0x1000)); if (stat) { nv_warn(ce, "unhandled intr 0x%08x\n", stat); nv_wr32(ce, 0x104908 + (idx * 0x1000), stat); nvkm_wr32(device, 0x104908 + (idx * 0x1000), stat); } } Loading drivers/gpu/drm/nouveau/nvkm/engine/ce/gm204.c +3 −2 Original line number Diff line number Diff line Loading @@ -62,13 +62,14 @@ gm204_ce_cclass = { static void gm204_ce_intr(struct nvkm_subdev *subdev) { struct nvkm_device *device = subdev->device; const int idx = nv_subidx(subdev) - NVDEV_ENGINE_CE0; struct nvkm_engine *ce = (void *)subdev; u32 stat = nv_rd32(ce, 0x104908 + (idx * 0x1000)); u32 stat = nvkm_rd32(device, 0x104908 + (idx * 0x1000)); if (stat) { nv_warn(ce, "unhandled intr 0x%08x\n", stat); nv_wr32(ce, 0x104908 + (idx * 0x1000), stat); nvkm_wr32(device, 0x104908 + (idx * 0x1000), stat); } } Loading Loading
drivers/gpu/drm/nouveau/nvkm/engine/ce/gk104.c +3 −2 Original line number Diff line number Diff line Loading @@ -62,13 +62,14 @@ gk104_ce_cclass = { static void gk104_ce_intr(struct nvkm_subdev *subdev) { struct nvkm_device *device = subdev->device; const int idx = nv_subidx(subdev) - NVDEV_ENGINE_CE0; struct nvkm_engine *ce = (void *)subdev; u32 stat = nv_rd32(ce, 0x104908 + (idx * 0x1000)); u32 stat = nvkm_rd32(device, 0x104908 + (idx * 0x1000)); if (stat) { nv_warn(ce, "unhandled intr 0x%08x\n", stat); nv_wr32(ce, 0x104908 + (idx * 0x1000), stat); nvkm_wr32(device, 0x104908 + (idx * 0x1000), stat); } } Loading
drivers/gpu/drm/nouveau/nvkm/engine/ce/gm204.c +3 −2 Original line number Diff line number Diff line Loading @@ -62,13 +62,14 @@ gm204_ce_cclass = { static void gm204_ce_intr(struct nvkm_subdev *subdev) { struct nvkm_device *device = subdev->device; const int idx = nv_subidx(subdev) - NVDEV_ENGINE_CE0; struct nvkm_engine *ce = (void *)subdev; u32 stat = nv_rd32(ce, 0x104908 + (idx * 0x1000)); u32 stat = nvkm_rd32(device, 0x104908 + (idx * 0x1000)); if (stat) { nv_warn(ce, "unhandled intr 0x%08x\n", stat); nv_wr32(ce, 0x104908 + (idx * 0x1000), stat); nvkm_wr32(device, 0x104908 + (idx * 0x1000), stat); } } Loading