mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
drm/i915/display: fix the uint*_t types that have crept in
Always prefer the kernel types over stdint types in i915. Cc: Imre Deak <imre.deak@intel.com> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210113141158.25513-1-jani.nikula@intel.com
This commit is contained in:
parent
702c08d6d0
commit
7853b43739
4 changed files with 4 additions and 4 deletions
|
@ -1954,7 +1954,7 @@ int intel_main_to_aux_plane(const struct drm_framebuffer *fb, int main_plane)
|
|||
|
||||
bool
|
||||
intel_format_info_is_yuv_semiplanar(const struct drm_format_info *info,
|
||||
uint64_t modifier)
|
||||
u64 modifier)
|
||||
{
|
||||
return info->is_yuv &&
|
||||
info->num_planes == (is_ccs_modifier(modifier) ? 4 : 2);
|
||||
|
|
|
@ -643,7 +643,7 @@ void intel_display_print_error_state(struct drm_i915_error_state_buf *e,
|
|||
|
||||
bool
|
||||
intel_format_info_is_yuv_semiplanar(const struct drm_format_info *info,
|
||||
uint64_t modifier);
|
||||
u64 modifier);
|
||||
|
||||
int intel_plane_compute_gtt(struct intel_plane_state *plane_state);
|
||||
u32 intel_plane_compute_aligned_offset(int *x, int *y,
|
||||
|
|
|
@ -545,7 +545,7 @@ struct intel_plane_state {
|
|||
struct drm_framebuffer *fb;
|
||||
|
||||
u16 alpha;
|
||||
uint16_t pixel_blend_mode;
|
||||
u16 pixel_blend_mode;
|
||||
unsigned int rotation;
|
||||
enum drm_color_encoding color_encoding;
|
||||
enum drm_color_range color_range;
|
||||
|
|
|
@ -676,7 +676,7 @@ static bool intel_fbc_hw_tracking_covers_screen(struct intel_crtc *crtc)
|
|||
}
|
||||
|
||||
static bool tiling_is_valid(struct drm_i915_private *dev_priv,
|
||||
uint64_t modifier)
|
||||
u64 modifier)
|
||||
{
|
||||
switch (modifier) {
|
||||
case DRM_FORMAT_MOD_LINEAR:
|
||||
|
|
Loading…
Reference in a new issue