summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-09-05 16:31:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-09-06 08:07:41 +0100
commit70109354fed232dfce8fb2c7cadf635acbe03e19 (patch)
tree4a5332f978526920d708dab36d30393dbbdb7dbd /tools/perf/scripts/python/bin/stackcollapse-report
parent6960e6da9cec3f6638121527c728305827ec12ab (diff)
downloadkernel-70109354fed232dfce8fb2c7cadf635acbe03e19.tar.gz
drm: Reject unknown legacy bpp and depth for drm_mode_addfb ioctl
Since this is handling user provided bpp and depth, we need to sanity check and propagate the EINVAL back rather than assume what the insane client intended and fill the logs with DRM_ERROR. v2: Check both bpp and depth match the builtin pixel format, and introduce a canonical DRM_FORMAT_INVALID to reserve 0 against any future fourcc. v3: Mark up DRM_FORMAT_C8 as being {bpp:8, depth:8} Testcase: igt/kms_addfb_basic/legacy-format Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20180905153116.28924-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
tle='2017-12-15 13:32:31 +0100'>2017-12-15tee: optee: Update protocol definitionsVolodymyr Babchuk 2017-12-15tee: add register user memoryJens Wiklander 2017-12-15tee: flexible shared memory pool creationJens Wiklander 2017-11-29optee: support asynchronous supplicant requestsJens Wiklander 2017-11-29tee: add TEE_IOCTL_PARAM_ATTR_METAJens Wiklander 2017-11-29tee: add tee_param_is_memref() for driver useJens Wiklander 2017-11-29optee: fix invalid of_node_put() in optee_driver_init()Jens Wiklander 2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman 2017-08-04tee: optee: sync with new naming of interruptsDavid Wang 2017-08-04tee: indicate privileged dev in gen_capsJens Wiklander 2017-08-04tee: optee: interruptible RPC sleeptiger-yu99 2017-08-04tee: optee: add const to tee_driver_ops and tee_desc structuresBhumika Goyal 2017-08-04tee: tee_shm: Constify dma_buf_ops structures.Arvind Yadav 2017-08-04tee: optee: fix uninitialized symbol 'parg'Jens Wiklander 2017-05-18Merge tag 'v4.12-rc1' into fixesOlof Johansson 2017-05-10tee: add ARM_SMCCC dependencyArnd Bergmann 2017-05-10Merge tag 'armsoc-tee' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/a...Linus Torvalds 2017-03-10tee: add OP-TEE driverJens Wiklander 2017-03-09tee: generic TEE subsystemJens Wiklander