mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
drm/rockchip: vop2: to access dsc register must after enable dsc pd and release reset
Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: I80d18b8f0b4dadc62c8304b5b62186691a684dd9
This commit is contained in:
@@ -4428,7 +4428,9 @@ static void vop2_initial(struct drm_crtc *crtc)
|
||||
if (!dsc->pd)
|
||||
continue;
|
||||
|
||||
if (!vop2_power_domain_status(dsc->pd))
|
||||
/* To access dsc register must after enable dsc pd and release reset */
|
||||
if (!vop2_power_domain_status(dsc->pd) ||
|
||||
!VOP_MODULE_GET(vop2, dsc, rst_deassert))
|
||||
continue;
|
||||
|
||||
dsc->enabled = VOP_MODULE_GET(vop2, dsc, dsc_en);
|
||||
|
||||
Reference in New Issue
Block a user