[PATCH 6/6] drm/client: switch to drm device based logging, and more

Jani Nikula jani.nikula at intel.com
Thu Mar 7 20:47:00 UTC 2024


On Thu, 07 Mar 2024, Jani Nikula <jani.nikula at intel.com> wrote:
> Switch to drm device based logging and WARNs, and unify connector and
> crtc logging formats. Pass drm device around a bit more to be able to do
> this.

Forgot to mention that I also stop logging about -ENOMEM, instead of
converting that over to drm device based logging.

> @@ -813,7 +824,6 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
>  	offsets = kcalloc(connector_count, sizeof(*offsets), GFP_KERNEL);
>  	enabled = kcalloc(connector_count, sizeof(bool), GFP_KERNEL);
>  	if (!crtcs || !modes || !enabled || !offsets) {
> -		DRM_ERROR("Memory allocation failed\n");
>  		ret = -ENOMEM;
>  		goto out;
>  	}

-- 
Jani Nikula, Intel


More information about the Intel-gfx mailing list