diff options
| author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-01-12 10:43:45 +0100 |
|---|---|---|
| committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-01-12 15:36:38 +0100 |
| commit | 1d4258db3e0bf14d4c782028ab7be721fb6619ba (patch) | |
| tree | 824f4a8f2b906652d6b96743c049ce0697a6e79e /tools/perf/scripts/python | |
| parent | drm/i915: Update i915_reset parameter for kerneldoc (diff) | |
| download | linux-1d4258db3e0bf14d4c782028ab7be721fb6619ba.tar.gz linux-1d4258db3e0bf14d4c782028ab7be721fb6619ba.zip | |
drm/i915: Remove useless casts to intel_plane_state
The visible member used to be in intel_plane_state->visible,
but has been moved to drm_plane_state->visible. In the conversion
some casts were left in that are now useless.
to_intel_plane_state(x)->base.visible is the same as x->visible,
so use the latter to clear up the code a little.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1484214225-30328-1-git-send-email-maarten.lankhorst@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
