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 1668ec1ee770..884e0d4b114f 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -242,6 +242,9 @@ extern int rv6xx_get_temp(struct radeon_device *rdev); | |||
242 | extern int rv770_get_temp(struct radeon_device *rdev); | 242 | extern int rv770_get_temp(struct radeon_device *rdev); |
243 | extern int evergreen_get_temp(struct radeon_device *rdev); | 243 | extern int evergreen_get_temp(struct radeon_device *rdev); |
244 | extern int sumo_get_temp(struct radeon_device *rdev); | 244 | extern int sumo_get_temp(struct radeon_device *rdev); |
245 | extern void evergreen_tiling_fields(unsigned tiling_flags, unsigned *bankw, | ||
246 | unsigned *bankh, unsigned *mtaspect, | ||
247 | unsigned *tile_split); | ||
245 | 248 | ||
246 | /* | 249 | /* |
247 | * Fences. | 250 | * Fences. |
@@ -1750,6 +1753,16 @@ int r600_vram_scratch_init(struct radeon_device *rdev); | |||
1750 | void r600_vram_scratch_fini(struct radeon_device *rdev); | 1753 | void r600_vram_scratch_fini(struct radeon_device *rdev); |
1751 | 1754 | ||
1752 | /* | 1755 | /* |
1756 | * r600 cs checking helper | ||
1757 | */ | ||
1758 | unsigned r600_mip_minify(unsigned size, unsigned level); | ||
1759 | bool r600_fmt_is_valid_color(u32 format); | ||
1760 | bool r600_fmt_is_valid_texture(u32 format, enum radeon_family family); | ||
1761 | int r600_fmt_get_blocksize(u32 format); | ||
1762 | int r600_fmt_get_nblocksx(u32 format, u32 w); | ||
1763 | int r600_fmt_get_nblocksy(u32 format, u32 h); | ||
1764 | |||
1765 | /* | ||
1753 | * r600 functions used by radeon_encoder.c | 1766 | * r600 functions used by radeon_encoder.c |
1754 | */ | 1767 | */ |
1755 | extern void r600_hdmi_enable(struct drm_encoder *encoder); | 1768 | extern void r600_hdmi_enable(struct drm_encoder *encoder); |