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>
This commit is contained in:

committed by
Liviu Dudau

parent
c57eb710b6
commit
70c94a3c8f
@@ -39,6 +39,9 @@ struct malidp_plane_state {
|
||||
|
||||
/* size of the required rotation memory if plane is rotated */
|
||||
u32 rotmem_size;
|
||||
/* internal format ID */
|
||||
u8 format;
|
||||
u8 n_planes;
|
||||
};
|
||||
|
||||
#define to_malidp_plane(x) container_of(x, struct malidp_plane, base)
|
||||
|
Reference in New Issue
Block a user