Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/msm/gpu: Move gpu devcore's to gpu device

The dpu devcore's are already associated with the dpu device. So we
should associate the gpu devcore's with the gpu device, for easier
classification.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/567738/

+1 -2
+1 -2
drivers/gpu/drm/msm/msm_gpu.c
··· 292 292 /* Set the active crash state to be dumped on failure */ 293 293 gpu->crashstate = state; 294 294 295 - /* FIXME: Release the crashstate if this errors out? */ 296 - dev_coredumpm(gpu->dev->dev, THIS_MODULE, gpu, 0, GFP_KERNEL, 295 + dev_coredumpm(&gpu->pdev->dev, THIS_MODULE, gpu, 0, GFP_KERNEL, 297 296 msm_gpu_devcoredump_read, msm_gpu_devcoredump_free); 298 297 } 299 298 #else