diff options
author | Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> | 2018-11-01 18:11:31 +0300 |
---|---|---|
committer | Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com> | 2018-11-02 12:57:40 +0300 |
commit | 8db2dc852941cf1bc9ea22b4ba5c14b8c9ab7194 (patch) | |
tree | 325602f0be0fc353c92be40d5266f2a25f2d9d76 /.mailmap | |
parent | 55bc277d122402f3ee9f16cb037ec9a9ccd601e9 (diff) | |
download | linux-8db2dc852941cf1bc9ea22b4ba5c14b8c9ab7194.tar.xz |
drm: Extend framebuffer_check to handle formats with cpp/char_per_block 0
For formats that are supported only with non-linear modifiers it
doesn't make to much sense to define cpp or char_per_block, so that
will be set to 0.
This patch adds a restriction to force having a modifier attached when
cpp/char_per_block is 0, and to bypass checking the pitch restriction.
This had been discussed here.
[1] https://people.freedesktop.org/~cbrill/dri-log/?channel=dri-devel&highlight_names=&date=2018-09-13&show_html=true
Reviewed-by: Brian Starkey <brian.starkey@arm.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181101151051.1509-5-alexandru-cosmin.gheorghe@arm.com
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions