]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Split current joiner hw state readout
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 30 Sep 2024 16:35:37 +0000 (22:05 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 1 Oct 2024 08:59:49 +0000 (14:29 +0530)
commit4e6ebb419a02950840a4a610a5bfca8fe55b03c7
tree978cbd4011a713fceff1937a4d1d6b60f5b1f76f
parent680d12cdb7e63c02e8fbd51982b4cef1d1fbb16f
drm/i915: Split current joiner hw state readout

We need to add a new sanity checks and also do
some preparations for adding ultrajoiner hw state readout.
Lets first split reading of the uncompressed joiner and bigjoiner
bit masks into separate functions.

v2: Fixed checkpatch warnings (Ankit)
v3: Use struct intel_display in the new functions. (Ankit)
v4: Use check for bigjoiner before reading the regs. (Ville)

Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240930163549.416410-2-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_display.c