msm: mdss: Fix pixel_ram check in smp block calculation
MDP v(1.7) supports fixed SMP. mdss_mdp_smp_calc_num_blocks API should not calculate any SMP blocks for this MDP version. Fix the API call to avoid smp block calculation when fixed SMP is enabled. Change-Id: I017ba2d2097471c98d6c4f9a0ec306309bcd7af6 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
This commit is contained in:
parent
59a7e1a0bd
commit
5431d0c98a
1 changed files with 3 additions and 0 deletions
|
@ -245,6 +245,9 @@ u32 mdss_mdp_smp_calc_num_blocks(struct mdss_mdp_pipe *pipe)
|
|||
struct mdss_mdp_plane_sizes ps;
|
||||
int rc = 0;
|
||||
int i, num_blks = 0;
|
||||
struct mdss_data_type *mdata = mdss_mdp_get_mdata();
|
||||
if (mdata->has_pixel_ram)
|
||||
return 0;
|
||||
|
||||
rc = mdss_mdp_calc_stride(pipe, &ps);
|
||||
if (rc) {
|
||||
|
|
Loading…
Add table
Reference in a new issue