33,7 → 33,7 |
#ifndef __RADEON_DRM_H__ |
#define __RADEON_DRM_H__ |
|
#include <drm/drm.h> |
#include "drm.h" |
|
/* WARNING: If you change any of these defines, make sure to change the |
* defines in the X server file (radeon_sarea.h) |
1034,6 → 1034,12 |
#define RADEON_INFO_VRAM_USAGE 0x1e |
#define RADEON_INFO_GTT_USAGE 0x1f |
#define RADEON_INFO_ACTIVE_CU_COUNT 0x20 |
#define RADEON_INFO_CURRENT_GPU_TEMP 0x21 |
#define RADEON_INFO_CURRENT_GPU_SCLK 0x22 |
#define RADEON_INFO_CURRENT_GPU_MCLK 0x23 |
#define RADEON_INFO_READ_REG 0x24 |
#define RADEON_INFO_VA_UNMAP_WORKING 0x25 |
#define RADEON_INFO_GPU_RESET_COUNTER 0x26 |
|
struct drm_radeon_info { |
uint32_t request; |