This patch adds interface to init fb allocations for smu.
It's to allocate vram bos to store smc table contents.
v2: add detailed info to describe this function
Signed-off-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
        return 0;
 }
 
+static int smu_init_fb_allocations(struct smu_context *smu)
+{
+       /* TODO */
+       return 0;
+}
+
 static int smu_smc_table_hw_init(struct smu_context *smu)
 {
        int ret;
        if (ret)
                return ret;
 
+       /*
+        * allocate vram bos to store smc table contents.
+        */
+       ret = smu_init_fb_allocations(smu);
+       if (ret)
+               return ret;
+
        return 0;
 }