diff options
| author | Mohammed Anees <pvmohammedanees2003@gmail.com> | 2024-10-18 01:46:12 +0530 |
|---|---|---|
| committer | Hans Verkuil <hverkuil@xs4all.nl> | 2024-12-02 14:05:21 +0100 |
| commit | 27dcdb63aac76a637a5a18a4065b442cc182d883 (patch) | |
| tree | a73aacace4b6270579d0b90fd854e466883c15fd /tools/perf/scripts/python | |
| parent | 40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff) | |
media: platform: mtk-mdp3: cmdq: Remove duplicated platforms checks
The platform compatibility checks for MT8183 and
MT8195 in mdp_cmdq_prepare() are redundant as they are
done in __get_config_offset() itself. Furthermore
there are two if-else branch in __get_config_offset()
which have similar conditions and are redundant.
To address this, remove the check in mdp_cmdq_prepare()
and combine the two if-else branch into one in
__get_config_offset().
Signed-off-by: Mohammed Anees <pvmohammedanees2003@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
