Commit 891f016d authored by David Galiffi's avatar David Galiffi Committed by Alex Deucher

drm/amd/display: Increase Default Sizes of FW State and Trace Buffer

[WHY]
To facilitate DM removing the dependency between dc and the firmware
binary.

[HOW]
Setting the default values to match VBIOS: 64 KB. These values are only
used if meta is absent.
Signed-off-by: default avatarDavid Galiffi <David.Galiffi@amd.com>
Reviewed-by: default avatarNicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: default avatarQingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 68423dab
...@@ -47,10 +47,10 @@ ...@@ -47,10 +47,10 @@
#define DMUB_MAILBOX_SIZE (DMUB_RB_SIZE) #define DMUB_MAILBOX_SIZE (DMUB_RB_SIZE)
/* Default state size if meta is absent. */ /* Default state size if meta is absent. */
#define DMUB_FW_STATE_SIZE (1024) #define DMUB_FW_STATE_SIZE (64 * 1024)
/* Default tracebuffer size if meta is absent. */ /* Default tracebuffer size if meta is absent. */
#define DMUB_TRACE_BUFFER_SIZE (1024) #define DMUB_TRACE_BUFFER_SIZE (64 * 1024)
/* Default scratch mem size. */ /* Default scratch mem size. */
#define DMUB_SCRATCH_MEM_SIZE (256) #define DMUB_SCRATCH_MEM_SIZE (256)
......
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