Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98c5d442 authored by Arun Menon's avatar Arun Menon
Browse files

msm: vidc: set unique value for mvc profile



HAL_MVC_PROFILE_STEREO_HIGH has the same value as
HAL_H264_PROFILE_BASELINE. When profile information is
to be set to firmware, the driver looks up the profile_level
table. Since stereo and baseline profiles have the same
values, the table returns the profile level as
HFI_H264_PROFILE_STEREO_HIGH instead of HFI_H264_PROFILE_BASELINE.
This results in incorrect profile being set to firmware,
leading to a firmware crash.

Change-Id: I698029f4d8c869bdb75fe935a63f63ff6f73fed0
Signed-off-by: default avatarArun Menon <avmenon@codeaurora.org>
parent 59cf2db6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -392,7 +392,7 @@ enum hal_divx_profile {
};

enum hal_mvc_profile {
	HAL_MVC_PROFILE_STEREO_HIGH  = 0x00000001,
	HAL_MVC_PROFILE_STEREO_HIGH  = 0x00001000,
	HAL_UNUSED_MVC_PROFILE = 0x10000000,
};