mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
disp: msm: sde: retain ubwc settings during LA to LE transition
Setting hbb value based on the ddr type of the target is not supported in trusted vm environment. Add changes to retain the ubwc configuration programmed by LA during the transition to LE environment. Change-Id: I1fa308ea99f815cfe4d1c75a22dbb6f89a806007 Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
This commit is contained in:
parent
a2a3c5e864
commit
6bf86dc2e5
1 changed files with 2 additions and 1 deletions
|
|
@ -2551,7 +2551,8 @@ static void _sde_encoder_virt_enable_helper(struct drm_encoder *drm_enc)
|
|||
sde_enc->cur_master->hw_mdptop);
|
||||
|
||||
if (sde_enc->cur_master->hw_mdptop &&
|
||||
sde_enc->cur_master->hw_mdptop->ops.reset_ubwc)
|
||||
sde_enc->cur_master->hw_mdptop->ops.reset_ubwc &&
|
||||
!sde_in_trusted_vm(sde_kms))
|
||||
sde_enc->cur_master->hw_mdptop->ops.reset_ubwc(
|
||||
sde_enc->cur_master->hw_mdptop,
|
||||
sde_kms->catalog);
|
||||
|
|
|
|||
Loading…
Reference in a new issue