summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
index 45759b9f15e5..8b7bc1cc2b7b 100644
--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
@@ -52,6 +52,10 @@
#include "dce/dce_abm.h"
#include "dce/dce_dmcu.h"
+#ifdef ENABLE_FBC
+#include "dce110/dce110_compressor.h"
+#endif
+
#include "reg_helper.h"
#include "dce/dce_11_0_d.h"
@@ -1347,6 +1351,12 @@ static bool construct(
}
}
+#ifdef ENABLE_FBC
+ dc->fbc_compressor = dce110_compressor_create(ctx);
+
+
+
+#endif
if (!underlay_create(ctx, &pool->base))
goto res_create_fail;