summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_casf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_casf.c')
-rw-r--r--drivers/gpu/drm/i915/display/intel_casf.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_casf.c b/drivers/gpu/drm/i915/display/intel_casf.c
index 95339b496f24..b167af31de5b 100644
--- a/drivers/gpu/drm/i915/display/intel_casf.c
+++ b/drivers/gpu/drm/i915/display/intel_casf.c
@@ -3,7 +3,6 @@
#include <drm/drm_print.h>
-#include "i915_reg.h"
#include "intel_casf.h"
#include "intel_casf_regs.h"
#include "intel_de.h"
@@ -116,6 +115,12 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
return 0;
}
+ /* CASF with joiner not supported in hardware */
+ if (crtc_state->joiner_pipes) {
+ drm_dbg_kms(display->drm, "CASF not supported with joiner\n");
+ return -EINVAL;
+ }
+
crtc_state->hw.casf_params.casf_enable = true;
/*