drm/imx/dcss: request memory region
authorPhilipp Stanner <pstanner@redhat.com>
Wed, 24 Jan 2024 11:19:04 +0000 (12:19 +0100)
committerLaurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Fri, 2 Feb 2024 13:34:40 +0000 (15:34 +0200)
commit90393c9b5408cafededdee2f34082c4c3c671901
treed87911f42ebb82d068707547a43398d762e02d65
parent041261ac4c365e03b07427569d6735f8adfd21c8
drm/imx/dcss: request memory region

The driver's memory regions are currently just ioremap()ed, but not
reserved through a request. That's not a bug, but having the request is
a little more robust.

Implement the region-request through the corresponding managed
devres-function.

Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Reviewed-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240124111904.18261-3-pstanner@redhat.com
drivers/gpu/drm/imx/dcss/dcss-dev.c