1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/i915/display
Anshuman Gupta 6eba56f64d drm/i915/pxp: black pixels on pxp disabled
When protected sufaces has flipped and pxp session is disabled,
display black pixels by using plane color CTM correction.

v2:
- Display black pixels in async flip too.

v3:
- Removed the black pixels logic for async flip. [Ville]
- Used plane state to force black pixels. [Ville]

v4 (Daniele): update pxp_is_borked check.

v5: rebase on top of v9 plane decryption moving the decrypt check
    (Juston)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Gaurav Kumar <kumar.gaurav@intel.com>
Cc: Shankar Uma <uma.shankar@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Juston Li <juston.li@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210924191452.1539378-15-alan.previn.teres.alexis@intel.com
2021-10-04 13:11:21 -04:00
..
dvo_ch7xxx.c
dvo_ch7017.c
dvo_ivch.c
dvo_ns2501.c
dvo_sil164.c
dvo_tfp410.c
g4x_dp.c drm/i915: Don't include intel_de.h from intel_display_types.h 2021-05-05 21:04:42 +03:00
g4x_dp.h drm/i915: Give g4x_{dp,hdmi}.c g4x_ namespace 2021-03-19 18:31:49 +02:00
g4x_hdmi.c drm/i915: Don't include intel_de.h from intel_display_types.h 2021-05-05 21:04:42 +03:00
g4x_hdmi.h drm/i915: Give g4x_{dp,hdmi}.c g4x_ namespace 2021-03-19 18:31:49 +02:00
i9xx_plane.c drm/i915/plane: add intel_plane_helper_add() helper 2021-07-08 14:05:15 +03:00
i9xx_plane.h drm/i915: migrate i9xx plane get config 2021-02-08 12:09:28 +02:00
icl_dsi.c drm/i915: s/intel_crtc/crtc/ 2021-06-24 22:05:10 +03:00
intel_acpi.c drm/i915: Invoke another _DSM to enable MUX on HP Workstation laptops 2021-07-11 17:09:01 +03:00
intel_acpi.h drm/i915: Invoke another _DSM to enable MUX on HP Workstation laptops 2021-07-11 17:09:01 +03:00
intel_atomic.c Merge drm/drm-next into drm-intel-next 2021-05-26 09:40:54 -04:00
intel_atomic.h drm/i915/adl_p: MBUS programming 2021-05-19 23:59:23 -07:00
intel_atomic_plane.c drm/i915/plane: add intel_plane_helper_add() helper 2021-07-08 14:05:15 +03:00
intel_atomic_plane.h drm/i915/plane: add intel_plane_helper_add() helper 2021-07-08 14:05:15 +03:00
intel_audio.c drm/i915/dg1: Adjust the AUDIO power domain 2021-08-02 14:16:42 +03:00
intel_audio.h
intel_bios.c drm/i915: replace random CNL comments 2021-07-30 10:19:47 -07:00
intel_bios.h drm/i915/bios: add intel_bios_encoder_data to encoder, use for iboost 2021-03-18 14:44:16 +02:00
intel_bw.c drm/i915: Implement PSF GV point support 2021-07-27 12:38:02 +03:00
intel_bw.h drm/i915: Fix includes and local vars order 2020-05-22 14:40:35 +01:00
intel_cdclk.c drm/i915/display: remove explicit CNL handling from intel_cdclk.c 2021-07-30 10:11:21 -07:00
intel_cdclk.h drm/i915: Nuke force_min_cdclk_changed 2020-09-17 20:10:21 +03:00
intel_color.c drm/i915/display: remove explicit CNL handling from intel_color.c 2021-07-30 10:11:22 -07:00
intel_color.h
intel_combo_phy.c drm/i915/display: remove explicit CNL handling from intel_combo_phy.c 2021-07-30 10:11:23 -07:00
intel_combo_phy.h
intel_connector.c drm/connector: Add a helper to attach the colorspace property 2021-05-07 17:14:59 +02:00
intel_connector.h drm/i915: Split intel_attach_colorspace_property() into HDMI vs. DP variants 2020-12-02 01:29:31 +05:30
intel_crt.c drm/i915: Introduce encoder->get_buf_trans() 2021-06-23 15:30:45 +03:00
intel_crt.h drm/i915: Remove repeated declaration 2021-03-29 12:39:35 -07:00
intel_crtc.c drm/i915/display: remove explicit CNL handling from intel_crtc.c 2021-07-30 10:11:24 -07:00
intel_crtc.h drm/i915/display: move crtc and dpll declarations where they belong 2021-04-28 11:17:11 +03:00
intel_cursor.c drm/i915/display/psr2: Fix cursor updates using legacy apis 2021-07-26 16:12:58 -07:00
intel_cursor.h drm/i915: refactor cursor code out of i915_display.c 2020-12-22 10:09:05 +02:00
intel_ddi.c drm for v5.15-rc1 2021-09-01 11:26:46 -07:00
intel_ddi.h drm/i915: s/intel/hsw/ for hsw/bdw/skl buf trans 2021-06-23 15:27:26 +03:00
intel_ddi_buf_trans.c drm/i915/display: remove CNL ddi buf translation tables 2021-07-30 10:11:36 -07:00
intel_ddi_buf_trans.h drm/i915/display: remove CNL ddi buf translation tables 2021-07-30 10:11:36 -07:00
intel_de.h drm/i915: Include intel_de_{read,write}_fw() in i915_reg_rw traces 2021-05-05 21:05:58 +03:00
intel_display.c drm/i915/pxp: black pixels on pxp disabled 2021-10-04 13:11:21 -04:00
intel_display.h drm/i915/dg2: Classify DG2 PHY types 2021-07-23 10:33:39 -07:00
intel_display_debugfs.c drm/i915/display: remove explicit CNL handling from intel_display_debugfs.c 2021-07-30 10:11:27 -07:00
intel_display_debugfs.h drm/i915/display: Record the plane update times for debugging 2020-12-02 22:17:28 +00:00
intel_display_power.c drm for v5.15-rc1 2021-09-01 11:26:46 -07:00
intel_display_power.h drm/i915/dg1: Adjust the AUDIO power domain 2021-08-02 14:16:42 +03:00
intel_display_types.h drm/i915/pxp: black pixels on pxp disabled 2021-10-04 13:11:21 -04:00
intel_dmc.c drm/i915/display: remove explicit CNL handling from intel_dmc.c 2021-07-30 10:11:28 -07:00
intel_dmc.h drm/i915/adl_p: Pipe B DMC Support 2021-06-21 16:15:29 -07:00
intel_dp.c drm for v5.15-rc1 2021-09-01 11:26:46 -07:00
intel_dp.h drm/i915/hdcp: add intel_dp_hdcp.h and rename init accordingly 2021-04-28 11:07:01 +03:00
intel_dp_aux.c drm/i915: replace random CNL comments 2021-07-30 10:19:47 -07:00
intel_dp_aux.h drm/i915/dp: split out aux functionality to intel_dp_aux.c 2021-01-21 13:27:42 +02:00
intel_dp_aux_backlight.c drm/dp: Extract i915's eDP backlight code into DRM helpers 2021-06-09 13:35:22 -04:00
intel_dp_aux_backlight.h
intel_dp_hdcp.c drm/i915: Don't include intel_de.h from intel_display_types.h 2021-05-05 21:04:42 +03:00
intel_dp_hdcp.h drm/i915/hdcp: add intel_dp_hdcp.h and rename init accordingly 2021-04-28 11:07:01 +03:00
intel_dp_link_training.c drm/i915/dp: remove superfluous EXPORT_SYMBOL() 2021-08-18 07:23:57 -04:00
intel_dp_link_training.h drm/i915: Disable LTTPR support when the DPCD rev < 1.4 2021-03-23 08:26:55 -04:00
intel_dp_mst.c drm/i915/display: Disable audio, DRRS and PSR before planes 2021-07-27 13:35:02 -07:00
intel_dp_mst.h drm/i915/display: prefer dig_port to reference intel_digital_port 2020-07-02 11:26:37 -07:00
intel_dpio_phy.c drm/i915: Don't include intel_de.h from intel_display_types.h 2021-05-05 21:04:42 +03:00
intel_dpio_phy.h drm/i915: Plumb crtc_state to link training 2020-10-01 16:45:57 +03:00
intel_dpll.c drm/i915/dg2: Add MPLLB programming for SNPS PHY 2021-07-29 09:05:25 -07:00
intel_dpll.h drm/i915/display: move crtc and dpll declarations where they belong 2021-04-28 11:17:11 +03:00
intel_dpll_mgr.c Merge tag 'drm-intel-next-2021-08-10-1' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-08-12 11:20:17 +10:00
intel_dpll_mgr.h drm/i915: replace random CNL comments 2021-07-30 10:19:47 -07:00
intel_dsb.c drm/i915: Don't include intel_de.h from intel_display_types.h 2021-05-05 21:04:42 +03:00
intel_dsb.h drm/i915/dsb: Pre allocate and late cleanup of cmd buffer 2020-05-23 15:42:28 +05:30
intel_dsi.c drm/i915/dp: Allow big joiner modes in intel_dp_mode_valid(), v3. 2020-11-18 11:41:10 -08:00
intel_dsi.h drm/i915/display/vlv_dsi: Move panel_pwr_cycle_delay to next panel-on 2021-04-12 10:47:35 +02:00
intel_dsi_dcs_backlight.c drm/i915: Pass port to intel_panel_bl_funcs.get() 2021-01-15 16:19:12 +02:00
intel_dsi_dcs_backlight.h
intel_dsi_vbt.c drm/i915/display: Eliminate most usage of INTEL_GEN() 2021-03-23 16:41:11 -07:00
intel_dvo.c drm/i915: Don't include intel_de.h from intel_display_types.h 2021-05-05 21:04:42 +03:00
intel_dvo.h
intel_dvo_dev.h
intel_fb.c drm/i915/adlp: Require DPT FB CCS color planes to be 2MB aligned 2021-05-25 13:06:07 +03:00
intel_fb.h drm/i915/adl_p: Enable remapping to pad DPT FB strides to POT 2021-05-07 11:13:02 +03:00
intel_fbc.c drm/i915/display: Disable FBC when PSR2 is enabled display 12 and newer 2021-07-20 16:15:30 -07:00
intel_fbc.h
intel_fbdev.c Merge drm/drm-next into drm-intel-next 2021-07-01 18:46:34 +03:00
intel_fbdev.h
intel_fdi.c drm/i915: s/intel_crtc/crtc/ 2021-06-24 22:05:10 +03:00
intel_fdi.h drm/i915: migrate hsw fdi code to new file. 2021-02-05 15:50:43 +02:00
intel_fifo_underrun.c drm/i915/xelpd: Enhanced pipe underrun reporting 2021-05-26 06:46:33 -07:00
intel_fifo_underrun.h
intel_frontbuffer.c Merge tag 'drm-intel-gt-next-2021-05-28' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-06-02 14:15:54 +10:00
intel_frontbuffer.h
intel_global_state.c drm/i915: Fix global state use-after-frees with a refcount 2020-06-02 16:35:24 +03:00
intel_global_state.h drm/i915: Fix global state use-after-frees with a refcount 2020-06-02 16:35:24 +03:00
intel_gmbus.c drm/i915: replace random CNL comments 2021-07-30 10:19:47 -07:00
intel_gmbus.h
intel_hdcp.c drm/i915: Don't include intel_de.h from intel_display_types.h 2021-05-05 21:04:42 +03:00
intel_hdcp.h drm/i915/hdcp: Pass dig_port to intel_hdcp_init 2021-01-13 08:29:32 +05:30
intel_hdmi.c drm/i915/dg2: Add MPLLB programming for HDMI 2021-07-29 09:06:01 -07:00
intel_hdmi.h drm/i915: Introduce g4x_hdmi.c 2021-03-19 18:31:29 +02:00
intel_hotplug.c drm/i915: skip display initialization when there is no display 2021-04-09 13:30:43 -07:00
intel_hotplug.h drm/i915: Reorder hpd init vs. display resume 2020-10-20 20:18:32 +03:00
intel_lpe_audio.c drm/i915: Remove references to struct drm_device.pdev 2021-02-02 13:58:42 +02:00
intel_lpe_audio.h
intel_lspcon.c Core Changes: 2021-05-21 08:55:23 +10:00
intel_lspcon.h drm/i915/display: Implement DRM infoframe read for LSPCON 2020-12-02 01:29:52 +05:30
intel_lvds.c drm/i915: s/intel_crtc/crtc/ 2021-06-24 22:05:10 +03:00
intel_lvds.h
intel_opregion.c drm/i915: Invoke another _DSM to enable MUX on HP Workstation laptops 2021-07-11 17:09:01 +03:00
intel_opregion.h
intel_overlay.c Merge tag 'drm-intel-gt-next-2021-05-28' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-06-02 14:15:54 +10:00
intel_overlay.h
intel_panel.c drm/i915: Don't include intel_de.h from intel_display_types.h 2021-05-05 21:04:42 +03:00
intel_panel.h drm/i915/dp: Enable Intel's HDR backlight interface (only SDR for now) 2021-01-19 12:35:52 -05:00
intel_pipe_crc.c drm/i915: Don't include intel_de.h from intel_display_types.h 2021-05-05 21:04:42 +03:00
intel_pipe_crc.h
intel_pps.c drm/i915: Don't include intel_de.h from intel_display_types.h 2021-05-05 21:04:42 +03:00
intel_pps.h drm/i915/pps: move pps code over from intel_display.c and refactor 2021-01-21 13:26:19 +02:00
intel_psr.c Merge tag 'drm-intel-gt-next-2021-08-06-1' of ssh://git.freedesktop.org/git/drm/drm-intel into drm-next 2021-08-12 09:56:04 +10:00
intel_psr.h drm/i915/display: Introduce new intel_psr_pause/resume function 2021-06-08 10:22:54 -07:00
intel_qp_tables.c drm/i915/xelpd: Add rc_qp_table for rcparams calculation 2021-05-19 23:59:12 -07:00
intel_qp_tables.h drm/i915/xelpd: Add rc_qp_table for rcparams calculation 2021-05-19 23:59:12 -07:00
intel_quirks.c drm/i915: keep backlight_enable on until turn eDP display off 2021-06-24 11:19:49 +03:00
intel_quirks.h
intel_sdvo.c drm/i915: s/intel_crtc/crtc/ 2021-06-24 22:05:10 +03:00
intel_sdvo.h
intel_sdvo_regs.h drm/i915/sdvo: Fix SDVO colorimetry bit defines 2020-07-09 16:14:47 +03:00
intel_snps_phy.c drm/i915/dg2: Update lane disable power state during PSR 2021-07-29 09:32:54 -07:00
intel_snps_phy.h drm/i915/dg2: Update lane disable power state during PSR 2021-07-29 09:32:54 -07:00
intel_sprite.c drm/i915/plane: add intel_plane_helper_add() helper 2021-07-08 14:05:15 +03:00
intel_sprite.h drm/i915/intel_fb: Pull FB plane functions from intel_sprite.c 2021-03-29 22:54:50 +03:00
intel_tc.c drm/i915: Force a TypeC PHY disconnect during suspend/shutdown 2021-06-16 19:13:43 +03:00
intel_tc.h drm/i915: Force a TypeC PHY disconnect during suspend/shutdown 2021-06-16 19:13:43 +03:00
intel_tv.c drm/i915: s/intel_crtc/crtc/ 2021-06-24 22:05:10 +03:00
intel_tv.h
intel_vbt_defs.h drm/i915: replace random CNL comments 2021-07-30 10:19:47 -07:00
intel_vdsc.c drm/i915/display: remove explicit CNL handling from intel_vdsc.c 2021-07-30 10:11:32 -07:00
intel_vdsc.h drm/i915/dsc: abstract helpers to get bigjoiner primary/secondary crtc 2021-06-28 07:43:52 -04:00
intel_vga.c drm-misc-next for v5.15-rc1: 2021-07-23 11:32:43 +10:00
intel_vga.h
intel_vrr.c drm/i915/xelpd: Add VRR guardband for VRR CTL 2021-05-26 06:46:37 -07:00
intel_vrr.h drm/i915: Remove repeated declaration 2021-03-29 12:39:35 -07:00
skl_scaler.c drm/i915/display: rename CNL references in skl_scaler.c 2021-07-30 10:19:17 -07:00
skl_scaler.h drm/i915: refactor skylake scaler code into new file. 2021-02-08 12:12:41 +02:00
skl_universal_plane.c drm/i915/pxp: black pixels on pxp disabled 2021-10-04 13:11:21 -04:00
skl_universal_plane.h drm/i915/intel_fb: Pull FB plane functions from skl_universal_plane.c 2021-03-29 22:54:50 +03:00
vlv_dsi.c drm/i915: s/intel_crtc/crtc/ 2021-06-24 22:05:10 +03:00
vlv_dsi_pll.c drm/i915: Don't include intel_de.h from intel_display_types.h 2021-05-05 21:04:42 +03:00