/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | i9xx_plane.c | 211 if (DISPLAY_VER(dev_priv) >= 4 && in i9xx_plane_ctl() 250 if (DISPLAY_VER(dev_priv) >= 4) in i9xx_check_plane_surface() 364 if (DISPLAY_VER(dev_priv) < 5) in i9xx_plane_ctl_crtc() 427 if (DISPLAY_VER(dev_priv) < 4) { in i9xx_plane_update_noarm() 459 if (DISPLAY_VER(dev_priv) >= 4) in i9xx_plane_update_arm() 494 if (DISPLAY_VER(dev_priv) >= 4) in i9xx_plane_update_arm() 537 if (DISPLAY_VER(dev_priv) >= 4) in i9xx_plane_disable_arm() 685 if (DISPLAY_VER(dev_priv) >= 5) in i9xx_plane_get_hw_state() 834 if (DISPLAY_VER(dev_priv) >= 4) in intel_primary_plane_create() 849 if (DISPLAY_VER(dev_priv) >= 4) in intel_primary_plane_create() [all …]
|
A D | intel_fbc.c | 161 if (DISPLAY_VER(i915) >= 11) in skl_fbc_min_cfb_stride() 185 if (DISPLAY_VER(i915) >= 9) in intel_fbc_cfb_stride() 196 if (DISPLAY_VER(i915) == 7) in intel_fbc_cfb_size() 235 if (DISPLAY_VER(i915) == 2) in i8xx_fbc_ctl() 298 if (DISPLAY_VER(i915) == 4) { in i8xx_fbc_activate() 403 if (DISPLAY_VER(i915) < 6) in g4x_dpfc_ctl() 602 if (DISPLAY_VER(i915) >= 10) in ivb_fbc_activate() 862 if (DISPLAY_VER(i915) == 2 || DISPLAY_VER(i915) == 3) in stride_is_valid() 891 if (DISPLAY_VER(i915) == 2) in pixel_format_is_valid() 1137 if (DISPLAY_VER(i915) >= 9 && in intel_fbc_check_plane() [all …]
|
A D | skl_universal_plane.c | 473 if (DISPLAY_VER(i915) >= 13) { in skl_plane_max_stride() 878 if (DISPLAY_VER(dev_priv) >= 10) in skl_plane_ctl_crtc() 917 if (DISPLAY_VER(dev_priv) >= 11) in skl_plane_ctl() 927 if (DISPLAY_VER(dev_priv) == 13) in skl_plane_ctl() 938 if (DISPLAY_VER(dev_priv) >= 11) in glk_plane_color_ctl_crtc() 1038 if (DISPLAY_VER(i915) < 12) in skl_plane_aux_dist() 1742 if (DISPLAY_VER(i915) >= 13) in skl_check_nv12_aux_surface() 2166 if (DISPLAY_VER(i915) >= 11) in skl_plane_has_rc_ccs() 2180 if (DISPLAY_VER(i915) < 12) in gen12_plane_has_mc_ccs() 2206 if (DISPLAY_VER(i915) < 12) in skl_get_plane_caps() [all …]
|
A D | intel_psr.c | 157 if (DISPLAY_VER(dev_priv) >= 12) in psr_irq_control() 218 if (DISPLAY_VER(dev_priv) >= 12) in intel_psr_irq_handler() 236 if (DISPLAY_VER(dev_priv) >= 9) { in intel_psr_irq_handler() 364 if (DISPLAY_VER(dev_priv) >= 9 && in intel_psr_init_dpcd() 409 if (DISPLAY_VER(dev_priv) >= 8) in intel_psr_enable_sink() 427 if (DISPLAY_VER(dev_priv) >= 11) in intel_psr1_get_tp_time() 499 if (DISPLAY_VER(dev_priv) >= 8) in hsw_activate_psr1() 539 if (DISPLAY_VER(dev_priv) >= 10 && DISPLAY_VER(dev_priv) <= 12) in hsw_activate_psr2() 1140 if (DISPLAY_VER(dev_priv) < 11) in intel_psr_enable_source() 1185 if (DISPLAY_VER(dev_priv) == 9) in intel_psr_enable_source() [all …]
|
A D | intel_bw.c | 170 if (DISPLAY_VER(dev_priv) >= 14) in intel_read_qgv_point_info() 188 if (DISPLAY_VER(dev_priv) >= 14) { in icl_get_qgv_points() 442 if (DISPLAY_VER(dev_priv) < 14 && in tgl_get_bw_info() 630 if (DISPLAY_VER(dev_priv) >= 14) in intel_bw_init_hw() 640 else if (DISPLAY_VER(dev_priv) == 12) in intel_bw_init_hw() 672 if (DISPLAY_VER(i915) < 11) in intel_bw_crtc_data_rate() 685 if (DISPLAY_VER(i915) < 12) in intel_bw_crtc_min_cdclk() 842 if (DISPLAY_VER(i915) < 11) in skl_crtc_calc_dbuf_bw() 906 if (DISPLAY_VER(dev_priv) < 9) in intel_bw_calc_min_cdclk() 1049 if (DISPLAY_VER(dev_priv) < 11) in intel_bw_atomic_check() [all …]
|
A D | intel_fifo_underrun.c | 193 if (DISPLAY_VER(dev_priv) >= 13) in icl_pipe_status_underrun_mask() 208 if (DISPLAY_VER(dev_priv) >= 11) in bdw_set_fifo_underrun_reporting() 294 else if (DISPLAY_VER(dev_priv) == 7) in __intel_set_cpu_fifo_underrun_reporting() 296 else if (DISPLAY_VER(dev_priv) >= 8) in __intel_set_cpu_fifo_underrun_reporting() 417 if (DISPLAY_VER(dev_priv) >= 11) { in intel_cpu_fifo_underrun_irq_handler() 426 if (DISPLAY_VER(dev_priv) >= 11) in intel_cpu_fifo_underrun_irq_handler() 481 else if (DISPLAY_VER(dev_priv) == 7) in intel_check_cpu_fifo_underruns()
|
A D | skl_watermark.c | 61 return DISPLAY_VER(i915) == 9; in skl_needs_memory_bw_wa() 74 if (DISPLAY_VER(i915) >= 14) { in intel_sagv_block_time() 111 if (DISPLAY_VER(i915) < 11) in intel_sagv_init() 310 if (DISPLAY_VER(i915) >= 11) in intel_sagv_pre_plane_update() 330 if (DISPLAY_VER(i915) >= 11) in intel_sagv_post_plane_update() 413 if (DISPLAY_VER(i915) >= 12) in intel_crtc_can_enable_sagv() 422 if (DISPLAY_VER(i915) < 11 && in intel_can_enable_sagv() 487 DISPLAY_VER(i915) >= 12 && in intel_compute_sagv_mask() 766 if (DISPLAY_VER(i915) >= 11) in skl_ddb_get_hw_plane_state() 2018 if (DISPLAY_VER(i915) == 9) in skl_compute_transition_wm() [all …]
|
A D | intel_crtc.c | 109 if (DISPLAY_VER(dev_priv) >= 5 || IS_G4X(dev_priv)) in intel_crtc_max_vblank_count() 111 else if (DISPLAY_VER(dev_priv) >= 3) in intel_crtc_max_vblank_count() 306 if (DISPLAY_VER(dev_priv) >= 9) in intel_crtc_init() 320 if (DISPLAY_VER(dev_priv) >= 9) in intel_crtc_init() 343 else if (DISPLAY_VER(dev_priv) == 4) in intel_crtc_init() 347 else if (DISPLAY_VER(dev_priv) == 3) in intel_crtc_init() 352 if (DISPLAY_VER(dev_priv) >= 8) in intel_crtc_init() 364 if (DISPLAY_VER(dev_priv) >= 11) in intel_crtc_init() 646 if (DISPLAY_VER(dev_priv) >= 11 && in intel_pipe_update_end()
|
A D | intel_ddi.c | 193 if (DISPLAY_VER(dev_priv) < 10) { in intel_wait_ddi_buf_active() 455 if (DISPLAY_VER(dev_priv) >= 12) in intel_ddi_transcoder_func_reg_val_get() 605 if (DISPLAY_VER(dev_priv) >= 11) in intel_ddi_disable_transcoder_func() 961 if (DISPLAY_VER(dev_priv) >= 13) in intel_ddi_enable_pipe_clock() 978 if (DISPLAY_VER(dev_priv) >= 12) in intel_ddi_disable_pipe_clock() 2152 if (DISPLAY_VER(dev_priv) >= 12) in dp_tp_ctl_reg() 2468 if (DISPLAY_VER(dev_priv) < 11) in hsw_ddi_pre_enable_dp() 2711 if (DISPLAY_VER(dev_priv) < 12) in intel_ddi_post_disable_hdmi() 3492 if (DISPLAY_VER(dev_priv) >= 8) in intel_ddi_get_config() 3759 if (DISPLAY_VER(dev_priv) < 9) in intel_ddi_port_sync_transcoders() [all …]
|
A D | intel_cdclk.c | 1480 if (DISPLAY_VER(dev_priv) >= 11) in bxt_de_pll_readout() 1497 if (DISPLAY_VER(dev_priv) >= 12) in bxt_get_cdclk() 1639 if (DISPLAY_VER(dev_priv) >= 12) { in bxt_cdclk_cd2x_pipe() 1864 if (DISPLAY_VER(dev_priv) >= 14) in bxt_set_cdclk() 1895 if (DISPLAY_VER(dev_priv) >= 14) in bxt_set_cdclk() 1924 if (DISPLAY_VER(dev_priv) >= 11) in bxt_set_cdclk() 2051 else if (DISPLAY_VER(i915) == 9) in intel_cdclk_init_hw() 2066 else if (DISPLAY_VER(i915) == 9) in intel_cdclk_uninit_hw() 2342 if (DISPLAY_VER(dev_priv) >= 10) in intel_pixel_rate_to_cdclk() 2392 if (DISPLAY_VER(dev_priv) == 10) { in intel_crtc_compute_min_cdclk() [all …]
|
A D | intel_dp_aux.c | 176 if (DISPLAY_VER(i915) >= 14) in skl_get_aux_send_ctl() 689 if (DISPLAY_VER(dev_priv) >= 14) { in intel_dp_aux_init() 692 } else if (DISPLAY_VER(dev_priv) >= 12) { in intel_dp_aux_init() 695 } else if (DISPLAY_VER(dev_priv) >= 9) { in intel_dp_aux_init() 706 if (DISPLAY_VER(dev_priv) >= 9) in intel_dp_aux_init() 715 if (DISPLAY_VER(dev_priv) >= 9) in intel_dp_aux_init() 724 if (DISPLAY_VER(dev_priv) >= 13 && aux_ch >= AUX_CH_D_XELPD) in intel_dp_aux_init() 728 else if (DISPLAY_VER(dev_priv) >= 12 && aux_ch >= AUX_CH_USBC1) in intel_dp_aux_init()
|
A D | intel_display.c | 529 if (DISPLAY_VER(dev_priv) == 13) in intel_enable_transcoder() 588 if (DISPLAY_VER(dev_priv) >= 14) in intel_disable_transcoder() 1109 if (DISPLAY_VER(dev_priv) == 9) in needs_nv12_wa() 1142 if (DISPLAY_VER(i915) == 9) { in intel_async_flip_vtd_wa() 1917 if (DISPLAY_VER(dev_priv) < 9) in hsw_crtc_enable() 2627 if (DISPLAY_VER(i915) < 4) { in intel_crtc_compute_pipe_mode() 2844 if (DISPLAY_VER(dev_priv) > 3) in intel_set_transcoder_timings() 3688 if (DISPLAY_VER(i915) >= 12) in bigjoiner_pipes() 3795 if (DISPLAY_VER(i915) >= 11) in hsw_panel_transcoders() 8114 if (DISPLAY_VER(i915) >= 11) in max_dotclock() [all …]
|
A D | intel_dmc.c | 323 if (DISPLAY_VER(i915) == 12) { in get_flip_queue_event_regs() 371 if (DISPLAY_VER(i915) < 12) in disable_all_event_handlers() 391 if (DISPLAY_VER(i915) < 13) in pipedmc_clock_gating_wa() 416 if (DISPLAY_VER(i915) >= 14) in intel_dmc_enable_pipe() 427 if (DISPLAY_VER(i915) >= 14) in intel_dmc_disable_pipe() 588 } else if (DISPLAY_VER(i915) >= 13) { in dmc_mmio_addr_sanity_check() 591 } else if (DISPLAY_VER(i915) >= 12) { in dmc_mmio_addr_sanity_check() 958 } else if (DISPLAY_VER(dev_priv) == 11) { in intel_dmc_ucode_init() 1097 DISPLAY_VER(i915) >= 14)); in intel_dmc_debugfs_status_show() 1107 if (DISPLAY_VER(i915) >= 12) { in intel_dmc_debugfs_status_show() [all …]
|
A D | intel_display_power.c | 940 DISPLAY_VER(dev_priv) >= 11 ? in get_allowed_dc_mask() 1132 if (DISPLAY_VER(dev_priv) == 12) in icl_mbus_init() 1394 if (DISPLAY_VER(dev_priv) >= 14) in intel_pch_reset_handshake() 1652 if (DISPLAY_VER(dev_priv) >= 12) in icl_display_core_init() 1662 if (DISPLAY_VER(dev_priv) >= 12) in icl_display_core_init() 1680 if (DISPLAY_VER(dev_priv) >= 13) in icl_display_core_init() 1887 if (DISPLAY_VER(i915) >= 11) { in intel_power_domains_init_hw() 2077 if (DISPLAY_VER(i915) >= 11) in intel_power_domains_suspend() 2234 if (DISPLAY_VER(i915) >= 11) { in intel_display_power_suspend() 2247 if (DISPLAY_VER(i915) >= 11) { in intel_display_power_resume() [all …]
|
A D | intel_dp_mst.c | 173 if (DISPLAY_VER(i915) >= 12) in intel_dp_dsc_mst_compute_link_config() 377 if (DISPLAY_VER(dev_priv) < 12) in intel_dp_mst_transcoder_mask() 429 if (DISPLAY_VER(dev_priv) < 12) in intel_dp_mst_atomic_master_trans_check() 564 DISPLAY_VER(dev_priv) >= 12 && last_mst_stream && in intel_mst_post_disable_dp() 580 if (DISPLAY_VER(dev_priv) >= 9) in intel_mst_post_disable_dp() 606 if (DISPLAY_VER(dev_priv) < 12 || !last_mst_stream) in intel_mst_post_disable_dp() 686 if (DISPLAY_VER(dev_priv) < 12 || !first_mst_stream) in intel_mst_pre_enable_dp() 906 if (DISPLAY_VER(dev_priv) >= 10 && in intel_dp_mst_mode_valid_ctx() 937 if (DISPLAY_VER(dev_priv) < 13 && bigjoiner && !dsc) in intel_dp_mst_mode_valid_ctx() 1183 if (DISPLAY_VER(i915) < 12 && port == PORT_A) in intel_dp_mst_encoder_init() [all …]
|
A D | intel_vrr.c | 81 if (DISPLAY_VER(i915) >= 13) in intel_vrr_vblank_exit_length() 146 if (DISPLAY_VER(i915) >= 13) { in intel_vrr_compute_config() 168 if (DISPLAY_VER(i915) >= 13) in trans_vrr_ctl() 251 if (DISPLAY_VER(dev_priv) >= 13) in intel_vrr_get_config()
|
A D | intel_pipe_crc.c | 404 if (DISPLAY_VER(dev_priv) == 2) in get_new_crc_ctl_reg() 406 else if (DISPLAY_VER(dev_priv) < 5) in get_new_crc_ctl_reg() 412 else if (DISPLAY_VER(dev_priv) < 9) in get_new_crc_ctl_reg() 534 if (DISPLAY_VER(dev_priv) == 2) in intel_is_valid_crc_source() 536 else if (DISPLAY_VER(dev_priv) < 5) in intel_is_valid_crc_source() 542 else if (DISPLAY_VER(dev_priv) < 9) in intel_is_valid_crc_source()
|
A D | intel_atomic.c | 345 if (DISPLAY_VER(dev_priv) == 9) { in intel_atomic_setup_scaler() 363 } else if (DISPLAY_VER(dev_priv) >= 10) { in intel_atomic_setup_scaler() 397 if (DISPLAY_VER(dev_priv) >= 14) { in intel_atomic_setup_scaler() 410 } else if (DISPLAY_VER(dev_priv) >= 10 || in intel_atomic_setup_scaler() 534 if (DISPLAY_VER(dev_priv) >= 10) in intel_atomic_setup_scalers()
|
A D | intel_fb.c | 569 else if (DISPLAY_VER(i915) < 11 && in skl_main_to_aux_plane() 578 return DISPLAY_VER(i915) == 2 ? 2048 : 4096; in intel_tile_size() 591 if (DISPLAY_VER(dev_priv) == 2) in intel_tile_width_bytes() 743 if (DISPLAY_VER(dev_priv) >= 9) in intel_linear_alignment() 748 else if (DISPLAY_VER(dev_priv) >= 4) in intel_linear_alignment() 771 if (DISPLAY_VER(dev_priv) >= 12) { in intel_surf_alignment() 1059 if (DISPLAY_VER(i915) >= 12 && in intel_fb_offset_to_xy() 1165 if (DISPLAY_VER(i915) < 4) in intel_plane_can_remap() 1710 else if (DISPLAY_VER(dev_priv) >= 7) in intel_fb_max_stride() 1744 if (DISPLAY_VER(dev_priv) >= 12) in intel_fb_stride_alignment() [all …]
|
A D | intel_audio.c | 589 if (DISPLAY_VER(i915) < 11) in enable_audio_dsc_wa() 594 if (DISPLAY_VER(i915) == 11) in enable_audio_dsc_wa() 596 else if (DISPLAY_VER(i915) >= 12) in enable_audio_dsc_wa() 971 else if (IS_HASWELL(i915) || DISPLAY_VER(i915) >= 8) in intel_audio_hooks_init() 982 if (DISPLAY_VER(i915) >= 13) in intel_audio_cdclk_change_pre() 1000 if (DISPLAY_VER(i915) >= 13) { in intel_audio_cdclk_change_post() 1077 if (DISPLAY_VER(i915) >= 9) { in i915_audio_component_get_power() 1089 if (DISPLAY_VER(i915) >= 10) in i915_audio_component_get_power() 1116 if (DISPLAY_VER(i915) < 9) in i915_audio_component_codec_wake_override() 1368 if (DISPLAY_VER(i915) >= 9) { in i915_audio_component_init() [all …]
|
A D | skl_scaler.c | 131 if (DISPLAY_VER(dev_priv) >= 9 && crtc_state->hw.enable && in skl_update_scaler() 175 if (DISPLAY_VER(dev_priv) < 11) { in skl_update_scaler() 180 } else if (DISPLAY_VER(dev_priv) < 12) { in skl_update_scaler() 185 } else if (DISPLAY_VER(dev_priv) < 14) { in skl_update_scaler() 320 if (DISPLAY_VER(dev_priv) >= 11) in skl_update_scaler_plane()
|
A D | intel_cursor.c | 340 if (DISPLAY_VER(dev_priv) >= 11) in i9xx_cursor_ctl_crtc() 349 if (DISPLAY_VER(dev_priv) < 5 && !IS_G4X(dev_priv)) in i9xx_cursor_ctl_crtc() 384 if (DISPLAY_VER(dev_priv) == 13) in i9xx_cursor_ctl() 531 if (DISPLAY_VER(dev_priv) >= 9) in i9xx_cursor_update_arm() 587 if (DISPLAY_VER(dev_priv) >= 5 || IS_G4X(dev_priv)) in i9xx_cursor_get_hw_state() 811 if (DISPLAY_VER(dev_priv) >= 4) in intel_cursor_plane_create() 820 if (DISPLAY_VER(dev_priv) >= 12) in intel_cursor_plane_create()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A D | intel_device_info.c | 398 else if (DISPLAY_VER(dev_priv) >= 11) { in intel_device_info_runtime_init() 401 } else if (DISPLAY_VER(dev_priv) >= 9) { in intel_device_info_runtime_init() 409 if (DISPLAY_VER(dev_priv) >= 13 || HAS_D12_PLANE_MINIMIZATION(dev_priv)) in intel_device_info_runtime_init() 412 else if (DISPLAY_VER(dev_priv) >= 11) in intel_device_info_runtime_init() 415 else if (DISPLAY_VER(dev_priv) == 10) in intel_device_info_runtime_init() 434 } else if (DISPLAY_VER(dev_priv) >= 5 || IS_G4X(dev_priv)) { in intel_device_info_runtime_init() 467 } else if (HAS_DISPLAY(dev_priv) && DISPLAY_VER(dev_priv) >= 9) { in intel_device_info_runtime_init() 484 if (DISPLAY_VER(dev_priv) >= 12 && in intel_device_info_runtime_init() 496 if (DISPLAY_VER(dev_priv) >= 11 && (dfsm & ICL_DFSM_DMC_DISABLE)) in intel_device_info_runtime_init() 529 DISPLAY_VER(dev_priv) < 5 && !IS_G4X(dev_priv)) in intel_device_info_runtime_init()
|
A D | i915_drv.h | 430 #define DISPLAY_VER(i915) (RUNTIME_INFO(i915)->display.ip.ver) macro 432 (DISPLAY_VER(i915) >= (from) && DISPLAY_VER(i915) <= (until)) 810 #define HAS_GMBUS_IRQ(dev_priv) (DISPLAY_VER(dev_priv) >= 4) 811 #define HAS_GMBUS_BURST_READ(dev_priv) (DISPLAY_VER(dev_priv) >= 11 || \ 823 #define HAS_FW_BLC(dev_priv) (DISPLAY_VER(dev_priv) > 2) 830 #define HAS_DP20(dev_priv) (IS_DG2(dev_priv) || DISPLAY_VER(dev_priv) >= 14) 841 #define HAS_PSR2_SEL_FETCH(dev_priv) (DISPLAY_VER(dev_priv) >= 12) 853 #define HAS_HW_SAGV_WM(i915) (DISPLAY_VER(i915) >= 13 && !IS_DGFX(i915)) 863 #define HAS_MSO(i915) (DISPLAY_VER(i915) >= 12) 915 #define HAS_VRR(i915) (DISPLAY_VER(i915) >= 11) [all …]
|
A D | i915_irq.c | 198 if (DISPLAY_VER(dev_priv) >= 11) in intel_hpd_init_pins() 508 if (DISPLAY_VER(dev_priv) < 5) in i915_pipestat_enable_mask() 610 if (DISPLAY_VER(dev_priv) >= 4) in i915_enable_asle_pipestat() 987 if (DISPLAY_VER(dev_priv) >= 3) in i9xx_pipe_crc_irq_handler() 1785 if (DISPLAY_VER(i915) >= 7) in ilk_irq_handler() 1867 if (DISPLAY_VER(dev_priv) >= 13) in gen8_de_port_aux_mask() 1890 if (DISPLAY_VER(dev_priv) >= 9) in gen8_de_port_aux_mask() 2013 if (DISPLAY_VER(i915) >= 9) in gen8_de_pipe_flip_done_mask() 2023 if (DISPLAY_VER(dev_priv) >= 13) in gen8_de_pipe_underrun_mask() 3128 if (DISPLAY_VER(dev_priv) >= 8) in ilk_hpd_irq_setup() [all …]
|