1. 07 11月, 2016 4 次提交
    • A
      drm/nouveau/fb: add gm20b device · 770b06e8
      Alexandre Courbot 提交于
      gm20b's FB has the same capabilities as gm200, minus the ability to
      allocate RAM. Create a device that reflects this instead of re-using the
      gk20a device which may be incorrect.
      Signed-off-by: NAlexandre Courbot <acourbot@nvidia.com>
      Reviewed-By: NKarol Herbst <karolherbst@gmail.com>
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      770b06e8
    • B
      drm/nouveau: mark symbols static where possible · e08a1d97
      Baoyou Xie 提交于
      We get a few warnings when building kernel with W=1:
      drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c:29:1: warning: no previous prototype for 'nvbios_fan_table' [-Wmissing-prototypes]
      drivers/gpu/drm/nouveau/nvkm/subdev/bios/fan.c:56:1: warning: no previous prototype for 'nvbios_fan_entry' [-Wmissing-prototypes]
      drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c:184:1: warning: no previous prototype for 'gt215_clk_info' [-Wmissing-prototypes]
      drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c:99:1: warning: no previous prototype for 'gt215_link_train_calc' [-Wmissing-prototypes]
      drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c:153:1: warning: no previous prototype for 'gt215_link_train' [-Wmissing-prototypes]
      drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c:271:1: warning: no previous prototype for 'gt215_link_train_init' [-Wmissing-prototypes]
      ....
      
      In fact, both functions are only used in the file in which they are
      declared and don't need a declaration, but can be made static.
      So this patch marks these functions with 'static'.
      Signed-off-by: NBaoyou Xie <baoyou.xie@linaro.org>
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      e08a1d97
    • B
      drm/nouveau: add missing header dependencies · e8390eb2
      Baoyou Xie 提交于
      We get a few warnings when building kernel with W=1:
      drivers/gpu/drm/nouveau/nvkm/core/firmware.c:34:1: warning: no previous prototype for 'nvkm_firmware_get' [-Wmissing-prototypes]
      drivers/gpu/drm/nouveau/nvkm/core/firmware.c:58:1: warning: no previous prototype for 'nvkm_firmware_put' [-Wmissing-prototypes]
      drivers/gpu/drm/nouveau/nvkm/subdev/fb/sddr3.c:69:1: warning: no previous prototype for 'nvkm_sddr3_calc' [-Wmissing-prototypes]
      drivers/gpu/drm/nouveau/nvkm/subdev/fb/sddr2.c:60:1: warning: no previous prototype for 'nvkm_sddr2_calc' [-Wmissing-prototypes]
      ....
      
      In fact, these functions are declared in
      drivers/gpu/drm/nouveau/include/nvkm/core/firmware.h
      drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.h
      drivers/gpu/drm/nouveau/nvkm/subdev/volt/priv.h
      drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.h
      drivers/gpu/drm/nouveau/dispnv04/disp.h.
      So this patch adds missing header dependencies.
      Signed-off-by: NBaoyou Xie <baoyou.xie@linaro.org>
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      e8390eb2
    • B
      drm/nouveau/i2c/gk110b,gm10x: use the correct implementation · 5b3800a6
      Ben Skeggs 提交于
      DPAUX registers moved on Kepler, these chipsets were still using the
      Fermi implementation for some reason.
      
      This fixes detection of hotplug/sink IRQs on DP connectors.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      Cc: stable@vger.kernel.org
      5b3800a6
  2. 12 10月, 2016 4 次提交
  3. 22 9月, 2016 2 次提交
  4. 30 7月, 2016 1 次提交
  5. 14 7月, 2016 29 次提交