]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm: mali-dp: Store internal format and n_planes in plane state
authorBrian Starkey <brian.starkey@arm.com>
Tue, 11 Oct 2016 14:26:09 +0000 (15:26 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 4 Nov 2016 17:09:45 +0000 (17:09 +0000)
commit70c94a3c8f68187b272e5aa4e1a9df354df461eb
tree414e257650f8ce3be6d386aeaab95862b372bc89
parentc57eb710b6575d12a3b93ee7c8bf5fdcc9d3860d
drm: mali-dp: Store internal format and n_planes in plane state

Save a search through the format lists at commit-time by storing the
internal format ID and number of planes in our plane state.

Signed-off-by: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/malidp_drv.h
drivers/gpu/drm/arm/malidp_planes.c