mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 09:46:42 +07:00
drm/i915/skl: Replace BUG() by MISSING_CASE() in skl_plane_ctl_format()
Let's be consistent with the others skl_plane_ctl_*() functions and use a MISSING_CASE(). Not only that, but it's a rude to BUG() the whole machine here. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
65438bcce5
commit
4249eeef4e
@ -2997,7 +2997,7 @@ u32 skl_plane_ctl_format(uint32_t pixel_format)
|
|||||||
format = PLANE_CTL_FORMAT_YUV422 | PLANE_CTL_YUV422_VYUY;
|
format = PLANE_CTL_FORMAT_YUV422 | PLANE_CTL_YUV422_VYUY;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
BUG();
|
MISSING_CASE(pixel_format);
|
||||||
}
|
}
|
||||||
|
|
||||||
return format;
|
return format;
|
||||||
|
Loading…
Reference in New Issue
Block a user