drm/amdgpu: initialize cg/pg flags and external rev id for navi12
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Thu, 16 May 2019 11:47:33 +0000 (19:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Aug 2019 15:30:40 +0000 (10:30 -0500)
commit74b5e509a082c70fa20798343cd0bbfa532ceda1
tree5c22264cf5039b544b87a4c3380d4bd7d527a0b0
parentd4d838ba4e9d1ca0d46743141bba84de1f04a007
drm/amdgpu: initialize cg/pg flags and external rev id for navi12

don't enable any cg/pg features yet.

v2: calculate external revision id from revision id so that we can
    differentiate navi12 A0 from A1 directly.

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c