]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: Fix ZBC update race
authorTerje Bergstrom <tbergstrom@nvidia.com>
Fri, 14 Feb 2014 10:33:56 +0000 (12:33 +0200)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Sat, 15 Feb 2014 20:57:09 +0000 (12:57 -0800)
commitaf5bf8100b08ad7e471d90ee67f76785547c0684
treeb123c2bbc7304520c011a0ae56a5039a2981fdb6
parent77e232dc79727d5e4d73006ab2815bd5f948bb42
video: tegra: host: Fix ZBC update race

IOCTL to add ZBC color can happen before PMU is initialized. Part of
installing new ZBC is updating the table to PMU, and thus we might
send PMU a message before ZBC is ready.

Change-Id: Idff098769a9d01f7a863fe8dfb0727768c071f6f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/367727
Reviewed-by: Automatic_Commit_Validation_User
drivers/video/tegra/host/gk20a/gr_gk20a.c
drivers/video/tegra/host/gk20a/pmu_gk20a.c
drivers/video/tegra/host/gk20a/pmu_gk20a.h