diff options
author | Douglas Anderson <[email protected]> | 2024-05-03 14:33:23 -0700 |
---|---|---|
committer | Douglas Anderson <[email protected]> | 2024-05-28 13:09:12 -0700 |
commit | 3004d2e9cca5d59d25dff670a03a005d40601ded (patch) | |
tree | 229294c7bbc2415859b3e3aea3a381b83604fd3e /drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c | |
parent | ac9e1786271f771ff1f774742602330be2d57a12 (diff) |
drm/panel: sitronix-st7703: Stop tracking prepared
As talked about in commit d2aacaf07395 ("drm/panel: Check for already
prepared/enabled in drm_panel"), we want to remove needless code from
panel drivers that was storing and double-checking the
prepared/enabled state. Even if someone was relying on the
double-check before, that double-check is now in the core and not
needed in individual drivers.
One thing to note for st7703 is that it has a special "allpixelson"
debugfs file. When this file is written the driver hacks a
disable/unprepare and then a prepare/enable to try to reset the
panel. Potentially that might have been relying on the old booleans we
removed. It'll still "work" because of the checks in the core but it
deserves a comment. This debugfs file didn't appear to be particularly
safe to use even before this patch since it would cause a
disabled/unprepared panel to become prepared/enabled.
Cc: Guido Günther <[email protected]>
Cc: Ondřej Jirman <[email protected]>
Cc: Chris Morgan <[email protected]>
Cc: Frank Oltmanns <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Signed-off-by: Douglas Anderson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20240503143327.RFT.v2.42.Ifc436b262d72f1a33ddef10adfd7578d4acb60d8@changeid
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c')
0 files changed, 0 insertions, 0 deletions