summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/core_dc.h
diff options
context:
space:
mode:
authorBhawanpreet Lakha2017-06-27 22:34:27 +0200
committerAlex Deucher2017-09-27 00:08:24 +0200
commit1663ae1c4288da81b9f1668d204aa8ed55ebf849 (patch)
tree2979cceca693cfb179d0e4452ed1f7b1eca8add8 /drivers/gpu/drm/amd/display/dc/inc/core_dc.h
parentdrm/amd/display: add hyst frames for fixed refresh (diff)
downloadkernel-qcow2-linux-1663ae1c4288da81b9f1668d204aa8ed55ebf849.tar.gz
kernel-qcow2-linux-1663ae1c4288da81b9f1668d204aa8ed55ebf849.tar.xz
kernel-qcow2-linux-1663ae1c4288da81b9f1668d204aa8ed55ebf849.zip
drm/amd/display: Connect DC resource to FBC compressor
- Connected DC resource to FBC compressor, - Initial Implementation of FBC for Stoney/Carrizo - Code is currently guarded with "ENABLE_FBC" compile time flag Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Reviewed-by: Roman Li <Roman.Li@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/core_dc.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/core_dc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/core_dc.h b/drivers/gpu/drm/amd/display/dc/inc/core_dc.h
index 392cff2cd558..785236a44aee 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/core_dc.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/core_dc.h
@@ -10,6 +10,7 @@
#include "core_types.h"
#include "hw_sequencer.h"
+#include "compressor.h"
#define DC_TO_CORE(dc)\
container_of(dc, struct core_dc, public)
@@ -44,6 +45,11 @@ struct core_dc {
* to compare to see if display config changed
*/
struct dm_pp_display_configuration prev_display_config;
+
+ /* FBC compressor */
+#ifdef ENABLE_FBC
+ struct compressor *fbc_compressor;
+#endif
};
#endif /* __CORE_DC_H__ */