mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 03:01:41 +02:00
drm/amdgpu: Support 57bit fault address for GFX 12.1.0
The gmc fault virtual address is up to 57bit for 5 level page table, this also works with 48bit virtual address for 4 level page table. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Acked-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
fa0aa517de
commit
8efa1a11e1
|
|
@ -117,7 +117,7 @@ static int gmc_v12_1_process_interrupt(struct amdgpu_device *adev,
|
|||
node_id = entry->node_id;
|
||||
|
||||
addr = (u64)entry->src_data[0] << 12;
|
||||
addr |= ((u64)entry->src_data[1] & 0xf) << 44;
|
||||
addr |= ((u64)entry->src_data[1] & 0x1fff) << 44;
|
||||
|
||||
if (entry->src_id == UTCL2_1_0__SRCID__RETRY) {
|
||||
retry_fault = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user