drm/amd/display: Add support for runtime feature detection command
authorWyatt Wood <wyatt.wood@amd.com>
Wed, 21 Oct 2020 17:13:41 +0000 (13:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2020 04:03:46 +0000 (23:03 -0500)
commit92f1fa0d67a88d5c3992f1ddd7bab30a42f43eb8
tree31125b56cabd5570357fc48bf8f52b1de701efaf
parent42ddf36e6720fc26dafd9cbd41322706eacf87d5
drm/amd/display: Add support for runtime feature detection command

[Why]
Add support for new fw command for runtime feature detection.

[How]
Driver sends command through ring buffer, and fw returns data back
through this command.

Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/dmub_srv.h
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c