mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-16 18:49:57 +00:00
drm/amdgpu/discovery: add NBIO 4.3 Support
Enable NBIO 4.3 on asics where it is present. Signed-off-by: Likun Gao <Likun.Gao@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
0d09a60e3e
commit
2c0e7ddd1f
@ -50,6 +50,7 @@
|
|||||||
#include "gfxhub_v2_0.h"
|
#include "gfxhub_v2_0.h"
|
||||||
#include "mmhub_v2_0.h"
|
#include "mmhub_v2_0.h"
|
||||||
#include "nbio_v2_3.h"
|
#include "nbio_v2_3.h"
|
||||||
|
#include "nbio_v4_3.h"
|
||||||
#include "nbio_v7_2.h"
|
#include "nbio_v7_2.h"
|
||||||
#include "hdp_v5_0.h"
|
#include "hdp_v5_0.h"
|
||||||
#include "nv.h"
|
#include "nv.h"
|
||||||
@ -2144,6 +2145,10 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
|
|||||||
adev->nbio.funcs = &nbio_v2_3_funcs;
|
adev->nbio.funcs = &nbio_v2_3_funcs;
|
||||||
adev->nbio.hdp_flush_reg = &nbio_v2_3_hdp_flush_reg_sc;
|
adev->nbio.hdp_flush_reg = &nbio_v2_3_hdp_flush_reg_sc;
|
||||||
break;
|
break;
|
||||||
|
case IP_VERSION(4, 3, 0):
|
||||||
|
adev->nbio.funcs = &nbio_v4_3_funcs;
|
||||||
|
adev->nbio.hdp_flush_reg = &nbio_v4_3_hdp_flush_reg;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user