Home
last modified time | relevance | path

Searched refs:dss_ctl2_val (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_vdsc.c910 u32 dss_ctl2_val = 0; in intel_dsc_enable() local
930 dss_ctl2_val |= LEFT_BRANCH_VDSC_ENABLE; in intel_dsc_enable()
932 dss_ctl2_val |= RIGHT_BRANCH_VDSC_ENABLE; in intel_dsc_enable()
936 I915_WRITE(dss_ctl2_reg, dss_ctl2_val); in intel_dsc_enable()
945 u32 dss_ctl1_val = 0, dss_ctl2_val = 0; in intel_dsc_disable() local
962 dss_ctl2_val = I915_READ(dss_ctl2_reg); in intel_dsc_disable()
963 if (dss_ctl2_val & LEFT_BRANCH_VDSC_ENABLE || in intel_dsc_disable()
964 dss_ctl2_val & RIGHT_BRANCH_VDSC_ENABLE) in intel_dsc_disable()
965 dss_ctl2_val &= ~(LEFT_BRANCH_VDSC_ENABLE | in intel_dsc_disable()
967 I915_WRITE(dss_ctl2_reg, dss_ctl2_val); in intel_dsc_disable()