mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
drm/radeon: add a asic callback to get the xclk
This is required to get the reference clock used by the gfx engine for things like timestamps. Fixes support for GL extensions the use timestamps on certain boards. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
0e34d0945e
commit
454d2e2a32
9 changed files with 93 additions and 1 deletions
|
@ -128,6 +128,10 @@
|
|||
#define GUI_ACTIVE (1<<31)
|
||||
#define GRBM_STATUS2 0x8014
|
||||
|
||||
#define CG_CLKPIN_CNTL 0x660
|
||||
# define MUX_TCLK_TO_XCLK (1 << 8)
|
||||
# define XTALIN_DIVIDE (1 << 9)
|
||||
|
||||
#define CG_MULT_THERMAL_STATUS 0x740
|
||||
#define ASIC_T(x) ((x) << 16)
|
||||
#define ASIC_T_MASK 0x3FF0000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue