drm/ttm: fix handling of TTM_PL_FLAG_TOPDOWN v2
[firefly-linux-kernel-4.4.55.git] / include / drm / ttm / ttm_bo_driver.h
index e3f8c99a8a9d2490bbcc0b0a0263e888aab2e1b1..202f0a7171e85a2c5ea93ef9c9e2768d561e8d6e 100644 (file)
@@ -182,6 +182,7 @@ struct ttm_mem_type_manager_func {
         * @man: Pointer to a memory type manager.
         * @bo: Pointer to the buffer object we're allocating space for.
         * @placement: Placement details.
+        * @flags: Additional placement flags.
         * @mem: Pointer to a struct ttm_mem_reg to be filled in.
         *
         * This function should allocate space in the memory type managed
@@ -206,6 +207,7 @@ struct ttm_mem_type_manager_func {
        int  (*get_node)(struct ttm_mem_type_manager *man,
                         struct ttm_buffer_object *bo,
                         struct ttm_placement *placement,
+                        uint32_t flags,
                         struct ttm_mem_reg *mem);
 
        /**