diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-03-28 16:01:35 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-03-28 16:55:03 +0100 |
commit | 72f4901e3c9b138d4ba5fd51e93eb97207c6eaca (patch) | |
tree | 69d44b4172fdcda4b862cbf6df857fe0b053b557 /tools/perf/scripts/python/syscall-counts.py | |
parent | 1d5bfac96f1e1856fbdb3f06679691e5b9c2ba8f (diff) |
drm/i915: check fb->pixel_format instead of bits_per_pixel
We've mostly switched over to the new more flexible schema, but
there's one check left in the modeset code.
Motivated by a question from Ville whether there's really no way an
unsupported pixel_format can escape into our platform update_plane
callbacks.
v2: Ville noticed that the fb->depth check is redudant when we already
check fb->pixel_format.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions