diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-04-14 22:01:59 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2023-04-15 12:18:29 +0300 |
commit | e920aabf8348de4160301b029b13d72eae0531d5 (patch) | |
tree | 19c7c3a2b99e0b167006147ffe68a543f6c91d98 /drivers/gpu/drm/i915/display/intel_display.c | |
parent | 3b6692357f70498f617ea1b31a0378070a0acf1c (diff) | |
download | linux-e920aabf8348de4160301b029b13d72eae0531d5.tar.xz |
drm/i915: Make intel_{mpllb,c10pll}_state_verify() safer
intel_{mpllb,c10pll}_state_verify() blows up if you call them
for a non-modeset/fastset commit on account of the relevant
connector not being part of the overall atomic state.
Currently the state checker only runs for modeset/fastset
commits, but for testing purposes it is sometimes desirable
to run it for other commits too. Check for modeset/fastset
in intel_{mpllb,c10pll}_state_verify() itself to make this safe.
v2: Give the new intel_c10pll_state_verify() the same treatment
Add comment to explain why we do this
Reviewed-by: Jani Nikula <jani.nikula@intel.com> #v1
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230414190159.7904-1-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display.c')
0 files changed, 0 insertions, 0 deletions