disp: msm: sde: add snapshot of SDE from 4.14 to 4.19

This change takes a snapshot from 4.14 to 4.19 as of
commit 47d149c31967 ("drm/msm/sde: Add null pointer
sanity checks").

Change-Id: Ib40428c562c3561c8a20d9849f16d13151496005
Signed-off-by: Samantha Tran <samtran@codeaurora.org>
Этот коммит содержится в:
Samantha Tran
2019-05-28 09:13:11 -07:00
родитель 2eeed8c7ff
Коммит d009254fda
5 изменённых файлов: 41 добавлений и 10 удалений

Просмотреть файл

@@ -157,11 +157,12 @@ static inline int _sspp_subblk_offset(struct sde_hw_pipe *ctx,
u32 *idx)
{
int rc = 0;
const struct sde_sspp_sub_blks *sblk = ctx->cap->sblk;
const struct sde_sspp_sub_blks *sblk;
if (!ctx)
return -EINVAL;
sblk = ctx->cap->sblk;
switch (s_id) {
case SDE_SSPP_SRC:
*idx = sblk->src_blk.base;