diff options
| author | Imre Deak <[email protected]> | 2019-12-21 12:05:37 +0000 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2019-12-23 11:50:56 +0000 |
| commit | e7af9094579474912ac7ea2d2f2434c4df2fd5e6 (patch) | |
| tree | 22f886949b5e71e8a40ef97b61d0236cbff9fa9e /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/i915: Extract framebufer CCS offset checks into a function (diff) | |
| download | kernel-e7af9094579474912ac7ea2d2f2434c4df2fd5e6.tar.gz kernel-e7af9094579474912ac7ea2d2f2434c4df2fd5e6.zip | |
drm/i915: Add helpers to select correct ccs/aux planes
Using helpers instead of open coding this to select a CCS plane for a
main plane makes the code cleaner and less error-prone when the location
of CCS plane can be different based on the format (packed vs. YUV
semiplanar). The same applies to selecting an AUX plane which can be a
UV plane (for an uncompressed YUV semiplanar format), or a CCS plane.
Cc: Dhinakaran Pandiyan <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Mika Kahola <[email protected]>
Cc: Matt Roper <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Reviewed-by: Mika Kahola <[email protected]>
Reviewed-by: Matt Roper <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
