mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
drm/amdgpu: add the macro definition of UMC_V12_0_PER_CHANNEL_OFFSET
Add the macro definition of UMC_V12_0_PER_CHANNEL_OFFSET for subsequent use. Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Ce Sun <cesun102@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
b139096367
commit
fab755988b
|
|
@ -290,6 +290,8 @@
|
|||
/* R13 bit shift should be considered, double the number */
|
||||
#define UMC_V12_0_BAD_PAGE_NUM_PER_CHANNEL (UMC_V12_0_NA_MAP_PA_NUM * 2)
|
||||
|
||||
/* UMC register per channel offset */
|
||||
#define UMC_V12_0_PER_CHANNEL_OFFSET 0x400
|
||||
|
||||
/* C2, C3, C4, R13, four MCA bits are looped in page retirement */
|
||||
#define UMC_V12_0_RETIRE_LOOP_BITS 4
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user