Skip to content

Commit

Permalink
Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux
Browse files Browse the repository at this point in the history
… into drm-next

Disable perfmon ioctls for now in etnaviv

* 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux:
  drm/etnaviv: short-circuit perfmon ioctls
  Revert "drm/etnaviv: submit supports performance monitor requests"
  • Loading branch information
Dave Airlie committed Oct 24, 2017
2 parents fef1aa4 + 330b52b commit fb9775a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion drivers/gpu/drm/etnaviv/etnaviv_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,9 @@ static int etnaviv_ioctl_pm_query_dom(struct drm_device *dev, void *data,
struct drm_etnaviv_pm_domain *args = data;
struct etnaviv_gpu *gpu;

/* reject as long as the feature isn't stable */
return -EINVAL;

if (args->pipe >= ETNA_MAX_PIPES)
return -EINVAL;

Expand All @@ -476,6 +479,9 @@ static int etnaviv_ioctl_pm_query_sig(struct drm_device *dev, void *data,
struct drm_etnaviv_pm_signal *args = data;
struct etnaviv_gpu *gpu;

/* reject as long as the feature isn't stable */
return -EINVAL;

if (args->pipe >= ETNA_MAX_PIPES)
return -EINVAL;

Expand Down Expand Up @@ -550,7 +556,7 @@ static struct drm_driver etnaviv_drm_driver = {
.desc = "etnaviv DRM",
.date = "20151214",
.major = 1,
.minor = 2,
.minor = 1,
};

/*
Expand Down

0 comments on commit fb9775a

Please sign in to comment.