mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Current code creats golden image using dedicated gr_ctx called GOLDEN_CTX. But on RM server it's no easy to create a GOLDEN_CTX since virtual addresses are managed by guest OSes. There's no special reason why we have to use a separate gr_ctx for golden image. This patch moves it to use current channel gr_ctx. And the function will be re-useable by RM server. Jira GVSCI-191 Change-Id: I9920703e61f7e1d8b3ad6612811e47a3815d0c0f Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1983702 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>