Skip to content

Commit

Permalink
drm/etnaviv: re-enable perfmon support
Browse files Browse the repository at this point in the history
Now that the PMR lifetime issues are solved we can safely re-enable
performance counter profiling support.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
  • Loading branch information
Lucas Stach committed Jan 2, 2018
1 parent 8bda151 commit a7cfa56
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions drivers/gpu/drm/etnaviv/etnaviv_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,9 +459,6 @@ 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 @@ -479,9 +476,6 @@ 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 @@ -556,7 +550,7 @@ static struct drm_driver etnaviv_drm_driver = {
.desc = "etnaviv DRM",
.date = "20151214",
.major = 1,
.minor = 1,
.minor = 2,
};

/*
Expand Down

0 comments on commit a7cfa56

Please sign in to comment.