disp: msm: dp: create dp aux log ipc context at probe time
Currently the ipc context for drm_dp_aux is being created during dp_aux_init. This limits the IPC logs to be only readable when the external display is in connected state and it gets destroyed on unplug. This change moves the context creation to probe time and the aux context will be passed to the aux driver during initialization. Change-Id: Id8d26c907c9cb2fd8c89b2842b98e7a908816abe Signed-off-by: Rajkumar Subbiah <quic_rsubbia@quicinc.com>
This commit is contained in:

committato da
Gerrit - the friendly Code Review server

parent
23955331e6
commit
ae1ea3d993
@@ -51,6 +51,7 @@ struct dp_display {
|
||||
u32 max_mixer_count;
|
||||
u32 max_dsc_count;
|
||||
void *dp_ipc_log;
|
||||
void *dp_aux_ipc_log;
|
||||
|
||||
int (*enable)(struct dp_display *dp_display, void *panel);
|
||||
int (*post_enable)(struct dp_display *dp_display, void *panel);
|
||||
|
Fai riferimento in un nuovo problema
Block a user