aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2025-03-24 11:51:19 +0000
committerDmitry Baryshkov <[email protected]>2025-03-25 14:20:38 +0000
commitd8343e115658fb35115e0720f4761ffa0147329a (patch)
tree91999d2530d761dcb0c4fea383ba71810c156819 /drivers/gpu/drm/lima/lima_sched.c
parentdrm/ci: arm64.config: mediatek: enable PHY drivers (diff)
downloadkernel-d8343e115658fb35115e0720f4761ffa0147329a.tar.gz
kernel-d8343e115658fb35115e0720f4761ffa0147329a.zip
drm/display: dp: implement new access helpers
Existing DPCD access functions return an error code or the number of bytes being read / write in case of partial access. However a lot of drivers either (incorrectly) ignore partial access or mishandle error codes. In other cases this results in a boilerplate code which compares returned value with the size. Implement new set of DPCD access helpers, which ignore partial access, always return 0 or an error code. Suggested-by: Jani Nikula <[email protected]> Acked-by: Jani Nikula <[email protected]> Reviewed-by: Lyude Paul <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/20250324-drm-rework-dpcd-access-v4-1-e80ff89593df@oss.qualcomm.com Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions