linux_dsm_epyc7002/drivers/gpu/drm/msm
Maxime Ripard 24c478ead0
drm/fourcc: Pass the format_info pointer to drm_format_plane_cpp
So far, the drm_format_plane_cpp function was operating on the format's
fourcc and was doing a lookup to retrieve the drm_format_info structure and
return the cpp.

However, this is inefficient since in most cases, we will have the
drm_format_info pointer already available so we shouldn't have to perform a
new lookup. Some drm_fourcc functions also already operate on the
drm_format_info pointer for that reason, so the API is quite inconsistent
there.

Let's follow the latter pattern and remove the extra lookup while being a
bit more consistent. In order to be extra consistent, also rename that
function to drm_format_info_plane_cpp and to a static function in the
header to match the current policy.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/32aa13e53dbc98a90207fd290aa8e79f785fb11e.1558002671.git-series.maxime.ripard@bootlin.com
2019-05-20 13:33:46 +02:00
..
adreno drm/msm/a6xx: No zap shader is not an error 2019-05-08 16:00:54 -04:00
disp drm/fourcc: Pass the format_info pointer to drm_format_plane_cpp 2019-05-20 13:33:46 +02:00
dsi drm-misc-next for 5.1: 2019-01-18 09:31:28 +10:00
edp drm-misc-next for 5.1: 2019-01-18 09:31:28 +10:00
hdmi drm-misc-next for 5.1: 2019-01-18 09:31:28 +10:00
Kconfig drm/msm/a6xx: Don't enable GPU state code if dependencies are missing 2019-04-21 07:52:36 -07:00
Makefile drm: prefix header search paths with $(srctree)/ 2019-04-26 17:03:23 +02:00
msm_atomic.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
msm_debugfs.c drm/msm/a6xx: Don't enable GPU state code if dependencies are missing 2019-04-21 07:52:36 -07:00
msm_debugfs.h
msm_drv.c Merge tag 'drm-msm-next-2019-04-21' of https://gitlab.freedesktop.org/drm/msm into drm-next 2019-04-24 11:56:32 +10:00
msm_drv.h Merge tag 'drm-msm-next-2019-04-21' of https://gitlab.freedesktop.org/drm/msm into drm-next 2019-04-24 11:56:32 +10:00
msm_fb.c drm/fourcc: Pass the format_info pointer to drm_format_plane_cpp 2019-05-20 13:33:46 +02:00
msm_fbdev.c drm/msm: Use drm_fb_helper_fill_info 2019-03-27 10:02:53 +01:00
msm_fence.c
msm_fence.h
msm_gem_prime.c drm: msm: Switch to use drm_gem_object reservation_object 2019-02-19 11:08:40 +01:00
msm_gem_shrinker.c
msm_gem_submit.c Merge tag 'drm-msm-next-2019-04-21' of https://gitlab.freedesktop.org/drm/msm into drm-next 2019-04-24 11:56:32 +10:00
msm_gem_vma.c drm/msm: Fix NULL pointer dereference 2019-04-18 10:04:09 -07:00
msm_gem.c Merge tag 'drm-msm-next-2019-04-21' of https://gitlab.freedesktop.org/drm/msm into drm-next 2019-04-24 11:56:32 +10:00
msm_gem.h drm/msm: Split submit_lookup_objects() into two loops 2019-04-19 11:50:07 -07:00
msm_gpu_trace.h drm/msm/gpu: Add trace events for tracking GPU submissions 2018-12-11 13:05:28 -05:00
msm_gpu_tracepoints.c drm/msm/gpu: Add trace events for tracking GPU submissions 2018-12-11 13:05:28 -05:00
msm_gpu.c drm/msm: Stop dropping struct_mutex in recover_worker() 2019-04-19 11:50:06 -07:00
msm_gpu.h drm/msm: add param to retrieve # of GPU faults (global) 2019-04-19 11:50:00 -07:00
msm_gpummu.c drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
msm_iommu.c drm/msm: Remove pm_runtime calls from msm_iommu.c 2019-04-18 10:04:09 -07:00
msm_kms.h drm/msm: Cut dpu_kms hooks from msm_pm_suspend/resume 2018-12-11 12:51:27 -05:00
msm_mmu.h drm/msm: implement a2xx mmu 2018-12-11 13:07:10 -05:00
msm_perf.c
msm_rd.c drm/msm: Unblock writer if reader closes file 2019-01-29 10:17:34 -05:00
msm_ringbuffer.c drm/msm/gpu: Map the ringbuffer in the iova at create time 2018-12-11 13:07:03 -05:00
msm_ringbuffer.h drm/msm/gpu: Add per-submission statistics 2018-12-11 13:05:28 -05:00
msm_submitqueue.c drm/msm/gpu: Add submit queue queries 2019-04-19 11:50:06 -07:00
NOTES