diff options
| author | Imre Deak <[email protected]> | 2023-03-21 22:01:00 +0000 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2023-03-22 18:31:22 +0000 |
| commit | 2a4d292f056b35f54cd7788e124937fe598369c4 (patch) | |
| tree | 85673f36216c5441b9e10877c2c42a444492f699 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm/i915: Add encoder hook to get the PLL type used by TC ports (diff) | |
| download | kernel-2a4d292f056b35f54cd7788e124937fe598369c4.tar.gz kernel-2a4d292f056b35f54cd7788e124937fe598369c4.zip | |
drm/i915/tc: Factor out a function querying active links on a TC port
For clarity factor out the function to determine if there are active
links on a TC port. This prepares for the next patch also checking the
port's PLL type.
While at it pass crtc_state to intel_tc_port_sanitize_mode(), and check
hw.active in that, instead of the deprecated crtc->active flag.
v2: Check crtc_state->hw.active instead of crtc->active. (Ville)
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions
