disp: msm: sde: remove sde_hw_blk
The sde_hw_blk was meant to be a generic base object for all SDE HW blocks, however, it enforces using a common set of ops which is not practical when blocks have different capabilities. Since this object was never used as intended and is not doing anything functional today, remove the dead weight. Change-Id: If76006c1ae5c62e8d7d77b100837dbaf6c661bd3 Signed-off-by: Steve Cohen <quic_cohens@quicinc.com>
Tento commit je obsažen v:

odevzdal
Jeykumar Sankaran

rodič
5fe7c2f8a0
revize
d9794d82cd
@@ -30,6 +30,7 @@
|
||||
#include "sde_kms.h"
|
||||
#include "sde_hw_lm.h"
|
||||
#include "sde_hw_ctl.h"
|
||||
#include "sde_hw_dspp.h"
|
||||
#include "sde_crtc.h"
|
||||
#include "sde_plane.h"
|
||||
#include "sde_hw_util.h"
|
||||
@@ -3386,7 +3387,7 @@ static void _sde_crtc_setup_mixer_for_encoder(
|
||||
|
||||
if (!sde_rm_get_hw(rm, &lm_iter))
|
||||
break;
|
||||
mixer->hw_lm = (struct sde_hw_mixer *)lm_iter.hw;
|
||||
mixer->hw_lm = to_sde_hw_mixer(lm_iter.hw);
|
||||
|
||||
/* CTL may be <= LMs, if <, multiple LMs controlled by 1 CTL */
|
||||
if (!sde_rm_get_hw(rm, &ctl_iter)) {
|
||||
@@ -3394,7 +3395,7 @@ static void _sde_crtc_setup_mixer_for_encoder(
|
||||
mixer->hw_lm->idx - LM_0);
|
||||
mixer->hw_ctl = last_valid_ctl;
|
||||
} else {
|
||||
mixer->hw_ctl = (struct sde_hw_ctl *)ctl_iter.hw;
|
||||
mixer->hw_ctl = to_sde_hw_ctl(ctl_iter.hw);
|
||||
last_valid_ctl = mixer->hw_ctl;
|
||||
sde_crtc->num_ctls++;
|
||||
}
|
||||
@@ -3408,11 +3409,11 @@ static void _sde_crtc_setup_mixer_for_encoder(
|
||||
|
||||
/* Dspp may be null */
|
||||
(void) sde_rm_get_hw(rm, &dspp_iter);
|
||||
mixer->hw_dspp = (struct sde_hw_dspp *)dspp_iter.hw;
|
||||
mixer->hw_dspp = to_sde_hw_dspp(dspp_iter.hw);
|
||||
|
||||
/* DS may be null */
|
||||
(void) sde_rm_get_hw(rm, &ds_iter);
|
||||
mixer->hw_ds = (struct sde_hw_ds *)ds_iter.hw;
|
||||
mixer->hw_ds = to_sde_hw_ds(ds_iter.hw);
|
||||
|
||||
mixer->encoder = enc;
|
||||
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele