drm/amd/display: cache trace buffer size
authorJosip Pavic <josip.pavic@amd.com>
Fri, 12 May 2023 13:56:05 +0000 (09:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 14:44:22 +0000 (10:44 -0400)
commit257e9891db0b961b79c9f0ca50c808a738000e70
tree2179c73de5a96b99c680c5029ae461261af0c584
parent5b466b28fa943aa9441cd27a9a469e1330814299
drm/amd/display: cache trace buffer size

[Why & How]
Cache the trace buffer size retrieved from DMUB FW in the driver

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Josip Pavic <josip.pavic@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@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