1. 07 11月, 2016 9 次提交
    • B
      drm/nouveau/kms/nv50: separate out base/ovly channel usage bounds commit · 6bbab3b6
      Ben Skeggs 提交于
      This commit separates the calculation of EVO state from the commit, in
      order to make the same code useful for atomic modesetting.
      
      The legacy interfaces have been wrapped on top of them.
      
      We're no longer touching the overlay channel usage bounds as of this
      commit.  The code to do so is in place for when overlay planes are
      added.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      6bbab3b6
    • B
      drm/nouveau/kms/nv50: separate out cursor surface commit · ea8ee390
      Ben Skeggs 提交于
      This commit separates the calculation of EVO state from the commit, in
      order to make the same code useful for atomic modesetting.
      
      The legacy interfaces have been wrapped on top of them.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      ea8ee390
    • B
      drm/nouveau/kms/nv50: separate out lut commit · a7ae1561
      Ben Skeggs 提交于
      This commit separates the calculation of EVO state from the commit, in
      order to make the same code useful for atomic modesetting.
      
      The legacy interfaces have been wrapped on top of them.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      a7ae1561
    • B
      drm/nouveau/kms/nv50: separate out core surface commit · ad633619
      Ben Skeggs 提交于
      This commit separates the calculation of EVO state from the commit, in
      order to make the same code useful for atomic modesetting.
      
      The legacy interfaces have been wrapped on top of them.
      
      As of this commit, we're no longer bothering to point the core surface
      at a valid framebuffer.  Prior to this, we'd initially point the core
      channel to the framebuffer passed in a mode_set()/mode_set_base(), and
      then use the base channel for any page-flip updates, leaving the core
      channel pointing at stale information.
      
      The important thing here is to configure the core surface parameters in
      such a way that EVO's error checking is satisfied.
      
      TL;DR: The situation isn't too much different to before.
      
      There may be brief periods of times during modesets where the (garbage)
      core surface will be showing.  This issue will be resolved once support
      for atomic commits has been implemented and we're able to interlock the
      updates that involve multiple channels.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      ad633619
    • B
      drm/nouveau/kms/nv50: separate out mode commit · 3dbd036b
      Ben Skeggs 提交于
      This commit separates the calculation of EVO state from the commit, in
      order to make the same code useful for atomic modesetting.
      
      The legacy interfaces have been wrapped on top of them.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      3dbd036b
    • B
      5a223dac
    • B
      drm/nouveau/kms/nv50: control evo trace output with DRM_UT_KMS · 7f55a072
      Ben Skeggs 提交于
      Will be useful in debugging the transition to atomic.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      7f55a072
    • B
      drm/nouveau/kms/nv50: switch mst sink back into sst mode · 52aa30f2
      Ben Skeggs 提交于
      Sometimes we load with a sink already in MST mode.  If, however, we can't
      or don't want to use MST, we need to be able to switch it back to SST.
      
      This commit instantiates a stub topology manager for any output path that
      we believe (the detection of this could use some improvement) has support
      for MST, and adds the connector detect() logic for detecting sink support
      and switching between modes.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      52aa30f2
    • B
      drm/nouveau/kms: subclass atomic connector state · 616915ec
      Ben Skeggs 提交于
      This commit implements the atomic property hooks for a connector, and
      wraps the legacy interface handling on top of those.
      
      For the moment, a full modeset will be done after any property change
      in order to ease subsequent changes.  The optimised behaviour will be
      restored for Tesla and later (earlier boards always do full modesets)
      once atomic commits are implemented.
      
      Some functions are put under the "nouveau_conn" namespace now, rather
      than "nouveau_connector", to distinguish functions that will work for
      (upcoming) MST connectors too.
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      616915ec
  2. 14 7月, 2016 2 次提交
  3. 07 6月, 2016 1 次提交
  4. 20 5月, 2016 1 次提交
  5. 19 5月, 2016 1 次提交
    • A
      drm: remove unused dev variables · c6740c9c
      Arnd Bergmann 提交于
      After drm_gem_object_lookup() was changed along with all its callers,
      we have several drivers that have unused variables:
      
      drm/armada/armada_crtc.c: In function 'armada_drm_crtc_cursor_set':
      drm/armada/armada_crtc.c:900:21: error: unused variable 'dev' [-Werror=unused-variable]
      drm/nouveau/nouveau_gem.c: In function 'validate_init':
      drm/nouveau/nouveau_gem.c:371:21: error: unused variable 'dev' [-Werror=unused-variable]
      drm/nouveau/nv50_display.c: In function 'nv50_crtc_cursor_set':
      drm/nouveau/nv50_display.c:1308:21: error: unused variable 'dev' [-Werror=unused-variable]
      drm/radeon/radeon_cs.c: In function 'radeon_cs_parser_relocs':
      drm/radeon/radeon_cs.c:77:21: error: unused variable 'ddev' [-Werror=unused-variable]
      
      This fixes all the instances I found with ARM randconfig builds so far.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: a8ad0bd8 ("drm: Remove unused drm_device from drm_gem_object_lookup()")
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: http://patchwork.freedesktop.org/patch/msgid/1463587653-3035181-6-git-send-email-arnd@arndb.de
      c6740c9c
  6. 17 5月, 2016 1 次提交
  7. 14 3月, 2016 1 次提交
  8. 11 1月, 2016 4 次提交
  9. 11 12月, 2015 1 次提交
  10. 08 12月, 2015 1 次提交
  11. 03 11月, 2015 1 次提交
  12. 28 8月, 2015 9 次提交
  13. 28 7月, 2015 1 次提交
  14. 22 1月, 2015 6 次提交
  15. 02 12月, 2014 1 次提交