Skip to content

Commit aeb3dd7

Browse files
Leo Maalexdeucher
authored andcommitted
Revert "drm/amd/display: cache trace buffer size"
Revert commit 257e989 ("drm/amd/display: cache trace buffer size") to fix regression found in tests. Acked-by: Stylon Wang <[email protected]> Signed-off-by: Leo Ma <[email protected]> Reviewed-by: Josip Pavic <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 57a8011 commit aeb3dd7

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

drivers/gpu/drm/amd/display/dmub/dmub_srv.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,6 @@ struct dmub_srv {
428428
enum dmub_asic asic;
429429
void *user_ctx;
430430
uint32_t fw_version;
431-
uint32_t trace_buffer_size;
432431
bool is_virtual;
433432
struct dmub_fb scratch_mem_fb;
434433
volatile const struct dmub_fw_state *fw_state;

drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,6 @@ dmub_srv_calc_region_info(struct dmub_srv *dmub,
427427
dmub->fw_version = fw_info->fw_version;
428428
}
429429

430-
dmub->trace_buffer_size = trace_buffer_size;
431-
432430
trace_buff->base = dmub_align(mail->top, 256);
433431
trace_buff->top = trace_buff->base + dmub_align(trace_buffer_size, 64);
434432

0 commit comments

Comments
 (0)