| .. | .. |
|---|
| 238 | 238 | /* Populate the base_gpu_props structure */ |
|---|
| 239 | 239 | kbase_gpuprops_update_core_props_gpu_id(gpu_props); |
|---|
| 240 | 240 | gpu_props->core_props.log2_program_counter_size = KBASE_GPU_PC_SIZE_LOG2; |
|---|
| 241 | | - gpu_props->core_props.gpu_available_memory_size = totalram_pages << PAGE_SHIFT; |
|---|
| 241 | + gpu_props->core_props.gpu_available_memory_size = totalram_pages() << PAGE_SHIFT; |
|---|
| 242 | 242 | |
|---|
| 243 | 243 | for (i = 0; i < BASE_GPU_NUM_TEXTURE_FEATURES_REGISTERS; i++) |
|---|
| 244 | 244 | gpu_props->core_props.texture_features[i] = gpu_props->raw_props.texture_features[i]; |
|---|