disp: msm: avoid msm_drv probe if sde_rsc is not probed yet
Msm_drv device node has dependency on sde_rsc device node for power resource enable if sde_rsc device device is enabled. This change moves the msm_drv device to probe defer state during component addition if sde_rsc device is not probed yet. It also removes the master_drm device node access from sde_rsc device. Change-Id: Ibb7457279b3376f45e82e5c9373aabd84a37ed36 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
这个提交包含在:
@@ -184,8 +184,6 @@ struct sde_rsc_bw_config {
|
||||
* mode_threshold_time_ns: time to wake TCS in mode-0, must be greater than
|
||||
* backoff time
|
||||
* time_slot_0_ns: time for sleep & wake TCS in mode-1
|
||||
* master_drm: Primary client waits for vsync on this drm object based
|
||||
* on crtc id
|
||||
* rsc_vsync_wait: Refcount to indicate if we have to wait for the vsync.
|
||||
* rsc_vsync_waitq: Queue to wait for the vsync.
|
||||
* bw_config: check sde_rsc_bw_config structure description.
|
||||
@@ -228,7 +226,6 @@ struct sde_rsc_priv {
|
||||
u32 mode_threshold_time_ns;
|
||||
u32 time_slot_0_ns;
|
||||
|
||||
struct drm_device *master_drm;
|
||||
atomic_t rsc_vsync_wait;
|
||||
wait_queue_head_t rsc_vsync_waitq;
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户