]> git.baikalelectronics.ru Git - kernel.git/commit
gpu/drm: ingenic: Use the plane's src_[x,y] to configure DMA length
authorPaul Cercueil <paul@crapouillou.net>
Tue, 10 Dec 2019 14:41:39 +0000 (15:41 +0100)
committerPaul Cercueil <paul@crapouillou.net>
Sat, 14 Dec 2019 18:26:10 +0000 (19:26 +0100)
commit80092ab9e7d1fd80ff6a98f4a6153b4311f6f4e8
tree7272245cf764e5027b367f306191ebf4ff85bd38
parent4b93a00023372d91b3c53c9e5b94abe1934b1a63
gpu/drm: ingenic: Use the plane's src_[x,y] to configure DMA length

Instead of obtaining the width/height of the framebuffer from the CRTC
state, obtain it from the current plane state.

v2: No change

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20191210144142.33143-3-paul@crapouillou.net
# *** extracted tags ***
Acked-by: Sam Ravnborg <sam@ravnborg.org>
drivers/gpu/drm/ingenic/ingenic-drm.c