drm/amd/display: Add DMUB param to load inst const from driver
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 30 Oct 2019 13:02:39 +0000 (09:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:52 +0000 (10:12 -0500)
commitab16c7363df1827599fd726b7467038d146c154e
tree97965e0f03117b62ec78c2e020360b4ddeffc6ac
parentc09eeee4f3a704ba4b5b743fdc34520f2e9d503d
drm/amd/display: Add DMUB param to load inst const from driver

[Why]
By default we shouldn't be trying to write secure registers during
DMUB hardware init.

[How]
Add a parameter to control whether we put the DMCUB into secure reset
and attempt to load CW0/CW1.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/inc/dmub_srv.h
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c