summaryrefslogtreecommitdiffstats
path: root/crypto/hash_info.c
diff options
context:
space:
mode:
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>2018-05-29 09:51:51 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-05-29 14:01:49 -0500
commit20d4ac659c76034586a3ab79489b0940631a65de (patch)
tree3c19374ef317b72bc01e15210408f0c24702c3d0 /crypto/hash_info.c
parentc733e40c74457ad6aa56cc8b3318e829b8274bef (diff)
downloadop-kernel-dev-20d4ac659c76034586a3ab79489b0940631a65de.zip
op-kernel-dev-20d4ac659c76034586a3ab79489b0940631a65de.tar.gz
drm/amd/display: Fix BUG_ON during CRTC atomic check update
For cases where the CRTC is inactive (DPMS off), where a modeset is not required, yet the CRTC is still in the atomic state, we should not attempt to update anything on it. Previously, we were relying on the modereset_required() helper to check the above condition. However, the function returns false immediately if a modeset is not required, ignoring the CRTC's enable/active state flags. The correct way to filter is by looking at these flags instead. Fixes: e277adc5a06c "drm/amd/display: Hookup color management functions" Bugzilla: https://bugs.freedesktop.org/106194 Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Tested-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'crypto/hash_info.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud