MLK-19500: drm: imx: dcss: fix tracing function
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Fri, 7 Sep 2018 07:14:57 +0000 (10:14 +0300)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit5d0dd2d0461f5ececff47dc60ddde56fab9faeaf
tree194ddfd1cacd0ba294e1d0c74f1399bd18f90b12
parentf8d75c95e69b3f256881165a591be6b253160917
MLK-19500: drm: imx: dcss: fix tracing function

kzalloc with GFP_KERNEL argument, may sleep. dcss_trace_write() is
called also from interrupt context and sleeping is not acceptable.

This patch will make kzalloc() call atomic.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/imx/dcss/dcss-common.c