Searched hist:cf5153e4338c4cca655a4a4eff6d54c6a0adcdb7 (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpu/host1x/ |
H A D | mipi.c | diff cf5153e4338c4cca655a4a4eff6d54c6a0adcdb7 Wed Aug 12 02:27:19 CEST 2020 Sowjanya Komatineni <skomatineni@nvidia.com> media: gpu: host1x: mipi: Keep MIPI clock enabled and mutex locked till calibration done
With the split of MIPI calibration into tegra_mipi_calibrate() and tegra_mipi_wait(), MIPI clock is not kept enabled and mutex is not locked till the calibration is done.
So, this patch keeps MIPI clock enabled and mutex locked after triggering start of calibration till its done.
To let calibration process go through its finite sequence codes before calibration logic waiting for pads idle state added wait time of 75usec to make sure it sees idle state to apply the results.
This patch renames tegra_mipi_calibrate() as tegra_mipi_start_calibration() and tegra_mipi_wait() as tegra_mipi_finish_calibration() to be inline with their usage.
Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
/linux/drivers/gpu/drm/tegra/ |
H A D | dsi.c | diff cf5153e4338c4cca655a4a4eff6d54c6a0adcdb7 Wed Aug 12 02:27:19 CEST 2020 Sowjanya Komatineni <skomatineni@nvidia.com> media: gpu: host1x: mipi: Keep MIPI clock enabled and mutex locked till calibration done
With the split of MIPI calibration into tegra_mipi_calibrate() and tegra_mipi_wait(), MIPI clock is not kept enabled and mutex is not locked till the calibration is done.
So, this patch keeps MIPI clock enabled and mutex locked after triggering start of calibration till its done.
To let calibration process go through its finite sequence codes before calibration logic waiting for pads idle state added wait time of 75usec to make sure it sees idle state to apply the results.
This patch renames tegra_mipi_calibrate() as tegra_mipi_start_calibration() and tegra_mipi_wait() as tegra_mipi_finish_calibration() to be inline with their usage.
Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
/linux/include/linux/ |
H A D | host1x.h | diff cf5153e4338c4cca655a4a4eff6d54c6a0adcdb7 Wed Aug 12 02:27:19 CEST 2020 Sowjanya Komatineni <skomatineni@nvidia.com> media: gpu: host1x: mipi: Keep MIPI clock enabled and mutex locked till calibration done
With the split of MIPI calibration into tegra_mipi_calibrate() and tegra_mipi_wait(), MIPI clock is not kept enabled and mutex is not locked till the calibration is done.
So, this patch keeps MIPI clock enabled and mutex locked after triggering start of calibration till its done.
To let calibration process go through its finite sequence codes before calibration logic waiting for pads idle state added wait time of 75usec to make sure it sees idle state to apply the results.
This patch renames tegra_mipi_calibrate() as tegra_mipi_start_calibration() and tegra_mipi_wait() as tegra_mipi_finish_calibration() to be inline with their usage.
Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|