diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index f1c2f58e572..8275b4184ad 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -772,6 +772,18 @@ struct r600_blit { | |||
772 | 772 | ||
773 | void r600_blit_suspend(struct radeon_device *rdev); | 773 | void r600_blit_suspend(struct radeon_device *rdev); |
774 | 774 | ||
775 | /* | ||
776 | * SI RLC stuff | ||
777 | */ | ||
778 | struct si_rlc { | ||
779 | /* for power gating */ | ||
780 | struct radeon_bo *save_restore_obj; | ||
781 | uint64_t save_restore_gpu_addr; | ||
782 | /* for clear state */ | ||
783 | struct radeon_bo *clear_state_obj; | ||
784 | uint64_t clear_state_gpu_addr; | ||
785 | }; | ||
786 | |||
775 | int radeon_ib_get(struct radeon_device *rdev, int ring, | 787 | int radeon_ib_get(struct radeon_device *rdev, int ring, |
776 | struct radeon_ib **ib, unsigned size); | 788 | struct radeon_ib **ib, unsigned size); |
777 | void radeon_ib_free(struct radeon_device *rdev, struct radeon_ib **ib); | 789 | void radeon_ib_free(struct radeon_device *rdev, struct radeon_ib **ib); |
@@ -1532,6 +1544,7 @@ struct radeon_device { | |||
1532 | struct r600_vram_scratch vram_scratch; | 1544 | struct r600_vram_scratch vram_scratch; |
1533 | int msi_enabled; /* msi enabled */ | 1545 | int msi_enabled; /* msi enabled */ |
1534 | struct r600_ih ih; /* r6/700 interrupt ring */ | 1546 | struct r600_ih ih; /* r6/700 interrupt ring */ |
1547 | struct si_rlc rlc; | ||
1535 | struct work_struct hotplug_work; | 1548 | struct work_struct hotplug_work; |
1536 | int num_crtc; /* number of crtcs */ | 1549 | int num_crtc; /* number of crtcs */ |
1537 | struct mutex dc_hw_i2c_mutex; /* display controller hw i2c mutex */ | 1550 | struct mutex dc_hw_i2c_mutex; /* display controller hw i2c mutex */ |