diff options
| author | Ville Syrjälä <[email protected]> | 2021-10-18 18:35:25 +0300 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2021-10-19 09:39:01 +0300 |
| commit | f45d2252ee10b036d539d93a752a2434a54a0d2b (patch) | |
| tree | 954d394eddfc634248bb6ffa52e152a4771c9ebb /scripts/objdiff | |
| parent | ccebd0e4021084361d1549f4e83688b1fae89c3e (diff) | |
drm/i915: Move LPT PCH readout code
Nuke the hsw_get_ddi_port_state() eyesore by putting the
readout code into intel_pch_display.c, and calling it directly
from hsw_crt_get_config().
Note that the nuked TRANS_DDI_FUNC_CTL readout from
hsw_get_ddi_port_state() is now etirely redundant since we
get called from the encoder->get_config() so we already know
we're dealing with the correct DDI port. Previously the
code was called from a place where that wasn't known so
it had to checked manually.
v2: Clarify the TRANS_DDI_FUNC_CTL change (Dave)
Nuke the now unused *TRANS_DDI_FUNC_CTL_VAL_TO_PORT() (Dave)
Cc: Dave Airlie <[email protected]>
Cc: Jani Nikula <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions