drm/i915: Skip cursor when writing PLANE_CHICKEN
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 29 Mar 2023 19:04:43 +0000 (22:04 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 31 Mar 2023 11:58:01 +0000 (14:58 +0300)
commitbd80b0dd6a431aa23b70ff91b6905c1b1eed2f9c
treed29a2457fe0619f66c180b2011ae110c93c83dd9
parent1164c92b2d13648fb156fe547dd1273111f05e3d
drm/i915: Skip cursor when writing PLANE_CHICKEN

Cursor is not a universal plane and thus doesn't have the
PLANE_CHICKEN register. Skip it.

Fixes: c5de248484af ("drm/i915/dpt: Add a modparam to disable DPT via the chicken bit")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230329190445.13456-1-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_dpt.c