Commit aeb3dd7e authored by Leo Ma's avatar Leo Ma Committed by Alex Deucher

Revert "drm/amd/display: cache trace buffer size"

Revert commit 257e9891 ("drm/amd/display: cache trace buffer size")
to fix regression found in tests.
Acked-by: default avatarStylon Wang <stylon.wang@amd.com>
Signed-off-by: default avatarLeo Ma <hanghong.ma@amd.com>
Reviewed-by: default avatarJosip Pavic <Josip.Pavic@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 57a80115
......@@ -428,7 +428,6 @@ struct dmub_srv {
enum dmub_asic asic;
void *user_ctx;
uint32_t fw_version;
uint32_t trace_buffer_size;
bool is_virtual;
struct dmub_fb scratch_mem_fb;
volatile const struct dmub_fw_state *fw_state;
......
......@@ -427,8 +427,6 @@ dmub_srv_calc_region_info(struct dmub_srv *dmub,
dmub->fw_version = fw_info->fw_version;
}
dmub->trace_buffer_size = trace_buffer_size;
trace_buff->base = dmub_align(mail->top, 256);
trace_buff->top = trace_buff->base + dmub_align(trace_buffer_size, 64);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment