]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: extract AUX mask assignment to separate function
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 26 Feb 2019 00:49:00 +0000 (16:49 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Sat, 2 Mar 2019 00:50:18 +0000 (16:50 -0800)
commit1aafdc35cfc92aaf9467b1deac07ee787282580b
treea1cb3fd3b3a9550fb7588b1446992877b1d7ceda
parent5124f73ca38424a5453c67e6f4d855dcbbe10cce
drm/i915: extract AUX mask assignment to separate function

No change in behavior, this only allows to more easily follow the flow
of gen8_de_irq_handler without the mask assignments for each platform.
This also re-organizes the branches a little bit, so the one-off case
for CNL_WITH_PORT_F is separate from the generic gen >= 11.

v2: rename de_port_iir_aux_mask -> gen8_de_port_aux_mask (Ville)

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jose Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190226004900.26047-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_irq.c