Re: [PATCH 4/8] drm/vc4: kms: Simplify a bit the private obj state hooks

2020-11-19 Thread Thomas Zimmermann
Maybe merge this into the commit that introduces the functionality. Am 13.11.20 um 16:29 schrieb Maxime Ripard: Some fields that we're going to add cannot be just copied over to the new state, and thus kmemdup is a bit unnecessary. Let's move to kzalloc instead, and clean it up in the process.

[PATCH 4/8] drm/vc4: kms: Simplify a bit the private obj state hooks

2020-11-15 Thread Maxime Ripard
Some fields that we're going to add cannot be just copied over to the new state, and thus kmemdup is a bit unnecessary. Let's move to kzalloc instead, and clean it up in the process. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/vc4/vc4_kms.c | 8 +--- 1 file changed, 5 insertions(+), 3 d