aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorDouglas Anderson <[email protected]>2021-04-23 16:59:04 +0000
committerDouglas Anderson <[email protected]>2021-05-03 20:21:09 +0000
commit63358e24ee79e8f43dadb755cbe8e955230c03a1 (patch)
tree4406663b31d04fbd41bde254bed5d10a8a6014a4 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentdrm/panel: panel-simple: Power the panel when reading the EDID (diff)
downloadkernel-63358e24ee79e8f43dadb755cbe8e955230c03a1.tar.gz
kernel-63358e24ee79e8f43dadb755cbe8e955230c03a1.zip
drm/panel: panel-simple: Cache the EDID as long as we retain power
It doesn't make sense to go out to the bus and read the EDID over and over again. Let's cache it and throw away the cache when we turn power off from the panel. Autosuspend means that even if there are several calls to read the EDID before we officially turn the power on then we should get good use out of this cache. Signed-off-by: Douglas Anderson <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Reviewed-by: Sean Paul <[email protected]> Acked-by: Linus Walleij <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20210423095743.v5.18.If050957eaa85cf45b10bcf61e6f7fa61c9750ebf@changeid
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions