drm/amd/display: add dummy functions to smu for Renoir Silicon Diags
authorSung Lee <sung.lee@amd.com>
Fri, 30 Aug 2019 17:36:40 +0000 (13:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Oct 2019 20:29:17 +0000 (16:29 -0400)
commit3794943cb1026006db9363a3641973b62387e51a
treebe8f137d141725f5f1859bf862d4ce6994366b03
parent92a5dc22051b3b1054bc696f45142a77c779abeb
drm/amd/display: add dummy functions to smu for Renoir Silicon Diags

[Why]
Previously only dummy functions were added in Diags for FPGA.
On silicon, this would lead to a segmentation fault on silicon diags.

[How]
Check if diags silicon and if so, add dummy functions.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c