amdgpu/nbio: use constant nbio_hdp_flush_reg structs.
authorDave Airlie <airlied@redhat.com>
Fri, 29 Sep 2017 00:47:43 +0000 (10:47 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Sep 2017 16:24:39 +0000 (12:24 -0400)
commitc6622f3afcb4da90e2600ee98e91a8a5640f7a27
tree5648fb37fba8d22cae604fce23a6dafcc6cf8f8d
parent35b31f7c6464480b10f3a54c9a35699e02f17ae8
amdgpu/nbio: use constant nbio_hdp_flush_reg structs.

This removes the init path as well, since the init path
just did some constant init of some structs.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c
drivers/gpu/drm/amd/amdgpu/nbio_v6_1.h
drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_0.h
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
drivers/gpu/drm/amd/amdgpu/soc15.c