Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5204c1b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm: avoid loading gpu components if qcom_kgsl present" into msm-4.9

parents 4eed0444 169bf3ab
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1696,6 +1696,13 @@ static const struct of_device_id msm_gpu_match[] = {
	{ },
};

#ifdef CONFIG_QCOM_KGSL
static int add_gpu_components(struct device *dev,
			      struct component_match **matchptr)
{
	return 0;
}
#else
static int add_gpu_components(struct device *dev,
			      struct component_match **matchptr)
{
@@ -1711,6 +1718,7 @@ static int add_gpu_components(struct device *dev,

	return 0;
}
#endif

static int msm_drm_bind(struct device *dev)
{