Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i915/tgl/dsi: Enable blanking packets during BLLP for video mode

Blanking packet bit will control whether the transcoder allows the link
to enter the LP state during BLLP regions (assuming there is enough time),
or whether it will keep the link in the HS state with a Blanking Packet

Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190730073648.5157-7-vandita.kulkarni@intel.com

authored by

Vandita Kulkarni and committed by
Uma Shankar
32d38e6c 33365fec

+6
+5
drivers/gpu/drm/i915/display/icl_dsi.c
··· 685 685 break; 686 686 } 687 687 688 + if (INTEL_GEN(dev_priv) >= 12) { 689 + if (is_vid_mode(intel_dsi)) 690 + tmp |= BLANKING_PACKET_ENABLE; 691 + } 692 + 688 693 /* program DSI operation mode */ 689 694 if (is_vid_mode(intel_dsi)) { 690 695 tmp &= ~OP_MODE_MASK;
+1
drivers/gpu/drm/i915/i915_reg.h
··· 11021 11021 #define CALIBRATION_DISABLED (0x0 << 4) 11022 11022 #define CALIBRATION_ENABLED_INITIAL_ONLY (0x2 << 4) 11023 11023 #define CALIBRATION_ENABLED_INITIAL_PERIODIC (0x3 << 4) 11024 + #define BLANKING_PACKET_ENABLE (1 << 2) 11024 11025 #define S3D_ORIENTATION_LANDSCAPE (1 << 1) 11025 11026 #define EOTP_DISABLED (1 << 0) 11026 11027