video: driver: ts_reorder for negative timestamps
The timestamp in the driver is stored in the U64 type, but if there is a negative value in the timestamp and the timestamp needs to be sorted, using the timestamp value directly to compare the size is to use the U64 type, which will turn the negative timestamp value into a very large positive timestamp value, resulting in the sorting result of timestamp is incorrect. Change-Id: I13ccdb2c0c4d7b4e32999c5e88092c636c1f0b69 Signed-off-by: Renjiang Han <quic_renjiang@quicinc.com>
Šī revīzija ir iekļauta:
@@ -879,7 +879,7 @@ struct msm_vidc_buffers {
|
||||
|
||||
struct msm_vidc_sort {
|
||||
struct list_head list;
|
||||
u64 val;
|
||||
s64 val;
|
||||
};
|
||||
|
||||
struct msm_vidc_timestamp {
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user