aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorIgor Torrente <[email protected]>2022-09-05 16:08:03 -0300
committerMelissa Wen <[email protected]>2022-09-05 20:12:14 -0100
commit2a37630d0ddb8a0612b700635cf4827aeafe4142 (patch)
treef63126b51ba3c34a859d8034346b61e65c6951bc /lib/mpi/mpiutil.c
parent8fe444eb326869823f3788a4b4da5dca03339d10 (diff)
drm: vkms: Replace hardcoded value of `vkms_composer.map` to DRM_FORMAT_MAX_PLANES
The `map` vector at `vkms_composer` uses a hardcoded value to define its size. If someday the maximum number of planes increases, this hardcoded value can be a problem. This value is being replaced with the DRM_FORMAT_MAX_PLANES macro. Acked-by: Thomas Zimmermann <[email protected]> Reviewed-by: Melissa Wen <[email protected]> Signed-off-by: Igor Torrente <[email protected]> Signed-off-by: Melissa Wen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions