1. 03 3月, 2014 2 次提交
  2. 18 2月, 2014 3 次提交
  3. 21 1月, 2014 1 次提交
  4. 20 1月, 2014 1 次提交
  5. 08 1月, 2014 2 次提交
    • R
      drivers: gpu: Add static keyword to the definition of KMS_INVALID_IOCTL in radeon_kms.c · f6e2e407
      Rashika Kheria 提交于
      Add static keyword to the definition of KMS_INVALID_IOCTL(name) in
      radeon_kms.c because the functions passed to it as arguments are not
      used anywhere else.
      
      This eliminates the following warnings in drm/radeon/radeon_kms.c:
      drivers/gpu/drm/radeon/radeon_kms.c:719:1: warning: no previous prototype for ‘radeon_cp_init_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:720:1: warning: no previous prototype for ‘radeon_cp_start_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:721:1: warning: no previous prototype for ‘radeon_cp_stop_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:722:1: warning: no previous prototype for ‘radeon_cp_reset_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:723:1: warning: no previous prototype for ‘radeon_cp_idle_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:724:1: warning: no previous prototype for ‘radeon_cp_resume_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:725:1: warning: no previous prototype for ‘radeon_engine_reset_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:726:1: warning: no previous prototype for ‘radeon_fullscreen_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:727:1: warning: no previous prototype for ‘radeon_cp_swap_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:728:1: warning: no previous rototype for ‘radeon_cp_clear_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:729:1: warning: no previous prototype for ‘radeon_cp_vertex_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:730:1: warning: no previous rototype for ‘radeon_cp_indices_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:731:1: warning: no previous prototype for ‘radeon_cp_texture_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:732:1: warning: no previous prototype for ‘radeon_cp_stipple_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:733:1: warning: no previous prototype for ‘radeon_cp_indirect_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:734:1: warning: no previous prototype for ‘radeon_cp_vertex2_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:735:1: warning: no previous prototype for ‘radeon_cp_cmdbuf_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:736:1: warning: no previous prototype for ‘radeon_cp_getparam_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:737:1: warning: no previous prototype for ‘radeon_cp_flip_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:738:1: warning: no previous prototype for ‘radeon_mem_alloc_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:739:1: warning: no previous prototype for ‘radeon_mem_free_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:740:1: warning: no previous rototype for ‘radeon_mem_init_heap_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:741:1: warning: no previous rototype for ‘radeon_irq_emit_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:742:1: warning: no previous prototype for ‘radeon_irq_wait_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:743:1: warning: no previous rototype for ‘radeon_cp_setparam_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:744:1: warning: no previous prototype for ‘radeon_surface_alloc_kms’ [-Wmissing-prototypes]
      drivers/gpu/drm/radeon/radeon_kms.c:745:1: warning: no previous prototype for ‘radeon_surface_free_kms’ [-Wmissing-prototypes]
      Signed-off-by: NRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      f6e2e407
    • R
      drivers: gpu: Mark function as static in radeon_kms.c · 5520345f
      Rashika Kheria 提交于
      Mark function radeon_info_ioctl() as static in drm/radeon/radeon_kms.c
      because it is not used outside this file.
      
      This eliminates the following warning in drm/radeon/radeon_kms.c:
      drivers/gpu/drm/radeon/radeon_kms.c:194:5: warning: no previous prototype for ‘radeon_info_ioctl’ [-Wmissing-prototypes]
      Signed-off-by: NRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      5520345f
  6. 23 12月, 2013 1 次提交
  7. 18 12月, 2013 1 次提交
  8. 18 11月, 2013 2 次提交
  9. 02 11月, 2013 1 次提交
  10. 09 10月, 2013 1 次提交
  11. 02 9月, 2013 1 次提交
  12. 31 8月, 2013 1 次提交
    • T
      drm/radeon/si: Add support for CP DMA to CS checker for compute v2 · e5b9e750
      Tom Stellard 提交于
      Also add a new RADEON_INFO query to check that CP DMA packets are
      supported on the compute ring.
      
      CP DMA has been supported since the 3.8 kernel, but due to an oversight
      we forgot to teach the CS checker that the CP DMA packet was legal for
      the compute ring on Southern Islands GPUs.
      
      This patch fixes a bug where the radeon driver will incorrectly reject a legal
      CP DMA packet from user space.  I would like to have the patch
      backported to stable so that we don't have to require Mesa users to use a
      bleeding edge kernel in order to take advantage of this feature which
      is already present in the stable kernels (3.8 and newer).
      
      v2:
        - Don't bump kms version, so this patch can be backported to stable
          kernels.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NTom Stellard <thomas.stellard@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      e5b9e750
  13. 19 8月, 2013 1 次提交
  14. 07 8月, 2013 1 次提交
  15. 23 7月, 2013 1 次提交
  16. 27 6月, 2013 2 次提交
  17. 15 4月, 2013 1 次提交
  18. 11 4月, 2013 2 次提交
  19. 09 4月, 2013 2 次提交
  20. 20 2月, 2013 2 次提交
  21. 08 12月, 2012 1 次提交
  22. 16 10月, 2012 1 次提交
  23. 03 10月, 2012 2 次提交
  24. 21 9月, 2012 2 次提交
  25. 13 8月, 2012 1 次提交
  26. 18 7月, 2012 1 次提交
  27. 21 6月, 2012 1 次提交
    • C
      drm/radeon: apply Murphy's law to the kms irq code v3 · fb98257a
      Christian Koenig 提交于
      1. It is really dangerous to have more than one
         spinlock protecting the same information.
      
      2. radeon_irq_set sometimes wasn't called with lock
         protection, so it can happen that more than one
         CPU would tamper with the irq regs at the same
         time.
      
      3. The pm.gui_idle variable was assuming that the 3D
         engine wasn't becoming idle between testing the
         register and setting the variable. So just remove
         it and test the register directly.
      
      v2: Also handle the hpd irq code the same way.
      v3: Rename hpd parameter for clarification.
      Signed-off-by: NChristian Koenig <christian.koenig@amd.com>
      Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
      fb98257a
  28. 05 6月, 2012 1 次提交
  29. 12 4月, 2012 1 次提交