aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-09-29 23:18:26 -0400
committerDave Airlie <airlied@redhat.com>2016-09-29 23:21:02 -0400
commit28a396545a2a5fbdffb2b661ed6c9b6820e28772 (patch)
tree0cc4d3a0a4956cf02c5c2133e382688ed7a30678 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentb2d7e08903e62b9f504fe6a954425b737aa9ff96 (diff)
parenta481daa88fd4d6b54f25348972bba10b5f6a84d0 (diff)
Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next
Some additional fixes for 4.9: - The rest of Christian's GTT rework which fixes a long standing bug in the GPUVM code among other things - Changes to the pci shutdown callbacks for certain hypervisors - Fix hpd interrupt storms on eDP panels which have the hpd interrupt enabled by the bios - misc cleanups and bug fixes * 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux: (33 commits) drm/radeon: always apply pci shutdown callbacks drm/amdgpu: always apply pci shutdown callbacks (v2) drm/amdgpu: improve VM PTE trace points drm/amdgpu: fix GART_DEBUGFS define drm/amdgpu: free userptrs even if GTT isn't bound drm/amd/amdgpu: Various cleanups for DCEv6 drm/amdgpu: fix BO move offsets drm/amdgpu: fix amdgpu_move_blit on 32bit systems drm/amdgpu: fix gtt_mgr bo's offset drm/amdgpu: fix initializing the VM BO shadow drm/amdgpu: fix initializing the VM last eviction counter drm/amdgpu: cleanup VM shadow BO unreferencing drm/amdgpu: allocate GTT space for shadow VM page tables drm/amdgpu: rename all rbo variable to abo v2 drm/amdgpu: remove unused member from struct amdgpu_bo drm/amdgpu: add a custom GTT memory manager v2 drm/amdgpu/dce6: disable hpd on local panels drm/amdgpu/dce8: disable hpd on local panels drm/amdgpu/dce11: disable hpd on local panels drm/amdgpu/dce10: disable hpd on local panels ...
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 72c68dbb9821..235f3902643a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -445,8 +445,6 @@ struct amdgpu_bo_va {
445#define AMDGPU_GEM_DOMAIN_MAX 0x3 445#define AMDGPU_GEM_DOMAIN_MAX 0x3
446 446
447struct amdgpu_bo { 447struct amdgpu_bo {
448 /* Protected by gem.mutex */
449 struct list_head list;
450 /* Protected by tbo.reserved */ 448 /* Protected by tbo.reserved */
451 u32 prefered_domains; 449 u32 prefered_domains;
452 u32 allowed_domains; 450 u32 allowed_domains;
@@ -704,7 +702,7 @@ struct amdgpu_flip_work {
704 u32 target_vblank; 702 u32 target_vblank;
705 uint64_t base; 703 uint64_t base;
706 struct drm_pending_vblank_event *event; 704 struct drm_pending_vblank_event *event;
707 struct amdgpu_bo *old_rbo; 705 struct amdgpu_bo *old_abo;
708 struct fence *excl; 706 struct fence *excl;
709 unsigned shared_count; 707 unsigned shared_count;
710 struct fence **shared; 708 struct fence **shared;
@@ -2417,7 +2415,7 @@ int amdgpu_cs_parser_init(struct amdgpu_cs_parser *p, void *data);
2417int amdgpu_cs_get_ring(struct amdgpu_device *adev, u32 ip_type, 2415int amdgpu_cs_get_ring(struct amdgpu_device *adev, u32 ip_type,
2418 u32 ip_instance, u32 ring, 2416 u32 ip_instance, u32 ring,
2419 struct amdgpu_ring **out_ring); 2417 struct amdgpu_ring **out_ring);
2420void amdgpu_ttm_placement_from_domain(struct amdgpu_bo *rbo, u32 domain); 2418void amdgpu_ttm_placement_from_domain(struct amdgpu_bo *abo, u32 domain);
2421bool amdgpu_ttm_bo_is_amdgpu_bo(struct ttm_buffer_object *bo); 2419bool amdgpu_ttm_bo_is_amdgpu_bo(struct ttm_buffer_object *bo);
2422int amdgpu_ttm_tt_get_user_pages(struct ttm_tt *ttm, struct page **pages); 2420int amdgpu_ttm_tt_get_user_pages(struct ttm_tt *ttm, struct page **pages);
2423int amdgpu_ttm_tt_set_userptr(struct ttm_tt *ttm, uint64_t addr, 2421int amdgpu_ttm_tt_set_userptr(struct ttm_tt *ttm, uint64_t addr,