]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Stash hpd status bits under dev_priv
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 May 2020 11:48:08 +0000 (14:48 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 11 May 2020 13:29:10 +0000 (16:29 +0300)
commitf3551e4477f0d43d1f5f7e52cf4436cc2d82e751
treebc141106081dfa559e263ddbec84d27aa9945a76
parent7d57fe1c7119568f085c016aa9de2a46772505d0
drm/i915: Stash hpd status bits under dev_priv

Instead of constnantly having to figure out which hpd status bit
array to use let's store them under dev_priv.

Should perhaps take this further and stash even more stuff to
make the hpd handling more abstract yet.

v2: Remeber cnp (Imre)
    Add MISSING_CASE() for unknown PCHs (Imre)

Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200507114808.6150-1-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c