Skip to content

Commit

Permalink
Merge branch 'linux-4.13' of git://github.com/skeggsb/linux into drm-…
Browse files Browse the repository at this point in the history
…fixes

two more fixes for issues nouveau found in fedora 26.

* 'linux-4.13' of git://github.com/skeggsb/linux:
  drm/nouveau/bar/gf100: fix access to upper half of BAR2
  drm/nouveau/disp/nv50-: bump max chans to 21
  • Loading branch information
airlied committed Jul 25, 2017
2 parents 739b000 + 38bcb20 commit cfd1081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ struct nv50_disp {
u8 type[3];
} pior;

struct nv50_disp_chan *chan[17];
struct nv50_disp_chan *chan[21];
};

void nv50_disp_super_1(struct nv50_disp *);
Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ gf100_bar_init(struct nvkm_bar *base)

if (bar->bar[0].mem) {
addr = nvkm_memory_addr(bar->bar[0].mem) >> 12;
nvkm_wr32(device, 0x001714, 0xc0000000 | addr);
nvkm_wr32(device, 0x001714, 0x80000000 | addr);
}

return 0;
Expand Down

0 comments on commit cfd1081

Please sign in to comment.